Skip to content

Commit

Permalink
remove unused noqa directive
Browse files Browse the repository at this point in the history
  • Loading branch information
elmjag committed Feb 27, 2025
1 parent 8afe567 commit 8e0fa50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mxcubecore/model/queue_model_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ def init_from_sc_sample(self, sc_sample):
else:
self.set_name(self.loc_str)

def init_from_lims_object(self, lims_sample): # noqa: C901
def init_from_lims_object(self, lims_sample):
if hasattr(lims_sample, "cellA"):
self.crystals[0].cell_a = lims_sample.cellA
self.processing_parameters.cell_a = lims_sample.cellA
Expand Down Expand Up @@ -2072,7 +2072,7 @@ def set_from_dict(self, params_dict):
if hasattr(self, dict_item[0]):
setattr(self, dict_item[0], dict_item[1])

def set_pre_strategy_params( # noqa: C901
def set_pre_strategy_params(
self,
space_group="",
crystal_classes=(),
Expand Down
1 change: 0 additions & 1 deletion ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6706,7 +6706,6 @@ convention = "google"
"RET507",
"RUF005",
"RUF012",
"RUF100",
"S110",
"SIM102",
"SIM108",
Expand Down

0 comments on commit 8e0fa50

Please sign in to comment.