Skip to content

Add -lib option to nextflow lint#6728

Draft
bentsherman wants to merge 1 commit intomasterfrom
cmd-lint-lib-dir
Draft

Add -lib option to nextflow lint#6728
bentsherman wants to merge 1 commit intomasterfrom
cmd-lint-lib-dir

Conversation

@bentsherman
Copy link
Member

Close #6634

This PR updates the nextflow lint command to recognize Groovy classes in the lib directory

  • Add -lib option to nextflow lint (defaults to ./lib)
  • Move shared class loader logic to ClassLoaderFactory so that it can be used by both Session and CmdLint
  • Update ResolveVisitor to handle Groovy classes from the lib directory
  • Add unit test based on linked issue

@netlify
Copy link

netlify bot commented Jan 16, 2026

Deploy Preview for nextflow-docs-staging canceled.

Name Link
🔨 Latest commit 976811b
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/696abcd01321890008437d2f

Signed-off-by: Ben Sherman <bentshermann@gmail.com>
@bentsherman bentsherman added this to the 26.04 milestone Feb 6, 2026
@pditommaso pditommaso force-pushed the master branch 2 times, most recently from d9fa5cd to d752bc2 Compare February 28, 2026 13:10
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.

Nextflow linter errors on custom Groovy code in lib/ as not being defined

1 participant