Skip to content

Commit 1ade253

Browse files
committed
[automated] Fix code linting
1 parent cf1c0e3 commit 1ade253

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

nf_core/pipelines/lint/nf_test_content.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,15 @@ def nf_test_content(self) -> Dict[str, List[str]]:
150150
line = line.strip()
151151
for check_name, config_check_info in config_checks.items():
152152
if re.search(str(config_check_info["pattern"]), line):
153-
passed.append(f"'{conf_fn.relative_to(self.wf_path)}' contains {config_check_info['description']}")
153+
passed.append(
154+
f"'{conf_fn.relative_to(self.wf_path)}' contains {config_check_info['description']}"
155+
)
154156
checks_passed[check_name] = True
155157
for check_name, config_check_info in config_checks.items():
156158
if not checks_passed[check_name]:
157-
failed.append(f"'{conf_fn.relative_to(self.wf_path)}' does not contain {config_check_info['description']}")
159+
failed.append(
160+
f"'{conf_fn.relative_to(self.wf_path)}' does not contain {config_check_info['description']}"
161+
)
158162
else:
159163
ignored.append(f"'{conf_fn.relative_to(self.wf_path)}' checking ignored")
160164

@@ -185,7 +189,9 @@ def nf_test_content(self) -> Dict[str, List[str]]:
185189
line = line.strip()
186190
for check_name, nf_test_check_info in nf_test_checks.items():
187191
if re.search(str(nf_test_check_info["pattern"]), line):
188-
passed.append(f"'{nf_test_conf_fn.relative_to(self.wf_path)}' {nf_test_check_info['description']}")
192+
passed.append(
193+
f"'{nf_test_conf_fn.relative_to(self.wf_path)}' {nf_test_check_info['description']}"
194+
)
189195
checks_passed[check_name] = True
190196
for check_name, nf_test_check_info in nf_test_checks.items():
191197
if not checks_passed[check_name]:

0 commit comments

Comments
 (0)