New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add check to lint for deprecated syntax #104
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #104 +/- ##
=========================================
+ Coverage 91.7% 91.73% +0.03%
=========================================
Files 7 7
Lines 687 690 +3
=========================================
+ Hits 630 633 +3
Misses 57 57
Continue to review full report at Codecov.
|
Ran a local test with my old version for Lint on old syntax
Lint on new syntax
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! I think this can go in :-)
nextflow
had an update in syntax for process specific configuration. Idea is to encourage the new syntax (withName: processName
) as it is more flexible. So point out the deprecated syntax ($processName
) in warning while linting.It is fairly easy now (thanks to how
nextflow
lists the current user defined configuration). For instanceWith deprecated syntax:
With cool new syntax: