Skip to content

Fix/4447 linting supressed - #4450

Merged
JulianFlesch merged 31 commits into
nf-core:devfrom
JulianFlesch:fix/4447-linting-supressed
Oct 16, 2026
Merged

JulianFlesch merged 31 commits into
nf-core:devfrom
JulianFlesch:fix/4447-linting-supressed

Conversation

@JulianFlesch

Copy link
Copy Markdown
Contributor

PR checklist

  • This comment contains a description of changes (with reason)
  • CHANGELOG.md is updated
  • If you've fixed a bug or added code that should be tested, add tests!
  • Documentation in docs is updated

@JulianFlesch
JulianFlesch requested a review from mashehu August 20, 2026 11:39
@JulianFlesch JulianFlesch self-assigned this Aug 20, 2026
@codecov

codecov Bot commented Aug 20, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 85.03401% with 22 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.57%. Comparing base (fc17087) to head (2a66c4f).
⚠️ Report is 1 commits behind head on dev.

Files with missing lines Patch % Lines
nf_core/modules/lint/main_nf.py 83.33% 14 Missing ⚠️
nf_core/modules/lint/meta_yml.py 54.54% 5 Missing ⚠️
nf_core/components/nfcore_component.py 93.47% 3 Missing ⚠️

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@JulianFlesch
JulianFlesch marked this pull request as ready for review August 25, 2026 12:03
Comment thread nf_core/components/nfcore_component.py Outdated
Comment thread nf_core/components/nfcore_component.py Outdated
Comment thread tests/modules/lint/test_lint_safety_net.py Outdated
@mashehu mashehu added this to the 4.2.0 milestone Oct 9, 2026
Comment thread nf_core/components/nfcore_component.py Outdated
Comment thread nf_core/modules/lint/__init__.py Outdated
mod.get_inputs_from_main_nf()
mod.get_outputs_from_main_nf()
mod.get_topics_from_main_nf()
except Exception as e: # noqa: BLE001 — isolate individual test error from linting run

@mashehu mashehu Oct 15, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why the noqa here? betterr to be explicit, no?

@mashehu mashehu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't like the too general exception handling

@JulianFlesch
JulianFlesch merged commit 354127e into nf-core:dev Oct 16, 2026
125 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants