Skip to content

Commit

Permalink
Update nf_core/modules/lint.py
Browse files Browse the repository at this point in the history
Co-authored-by: Phil Ewels <[email protected]>
  • Loading branch information
KevinMenden and ewels authored Mar 19, 2021
1 parent 886f7a5 commit 0d5ba18
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions nf_core/modules/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,12 +186,9 @@ def lint_nfcore_modules(self, nfcore_modules):
for mod in nfcore_modules:
progress_bar.update(lint_progress, advance=1, test_name=mod.module_name)
passed, warned, failed = mod.lint()
passed = [LintResult(mod, m[0], m[1], m[2]) for m in passed]
warned = [LintResult(mod, m[0], m[1], m[2]) for m in warned]
failed = [LintResult(mod, m[0], m[1], m[2]) for m in failed]
self.passed += passed
self.warned += warned
self.failed += failed
self.passed += [LintResult(mod, m[0], m[1], m[2]) for m in passed]
self.warned += [LintResult(mod, m[0], m[1], m[2]) for m in warned]
self.failed += [LintResult(mod, m[0], m[1], m[2]) for m in failed]

def get_repo_type(self):
"""
Expand Down

0 comments on commit 0d5ba18

Please sign in to comment.