Skip to content

Conversation

@mashehu
Copy link
Contributor

@mashehu mashehu commented Dec 16, 2025

combined the two previous methods, because the do quite similar things.
replaced the regex with manual character based parsing (because of difficulties to write a readable regex to parse balanced parentheses and different patterns in eval commands

Added test case of previously incorrectly parsed eval statement nf-core/modules#9571 (comment)

@mashehu mashehu requested a review from mirpedrol December 16, 2025 11:34
@codecov
Copy link

codecov bot commented Dec 16, 2025

Codecov Report

❌ Patch coverage is 90.32258% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.63%. Comparing base (a70e6f2) to head (6af375c).

Files with missing lines Patch % Lines
nf_core/components/nfcore_component.py 90.32% 3 Missing ⚠️

☔ View full report in Codecov by Sentry.
📢 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.

@mashehu mashehu changed the title linting: more fix incorrect parsing ofversion statement linting: more fixes for incorrect parsing of version statement Dec 16, 2025
@mashehu
Copy link
Contributor Author

mashehu commented Dec 16, 2025

@nf-core-bot changelog

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