Skip to content
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

Unable to ignore ImportNewerWDL errors #716

Open
TimD1 opened this issue Sep 17, 2024 · 0 comments
Open

Unable to ignore ImportNewerWDL errors #716

TimD1 opened this issue Sep 17, 2024 · 0 comments

Comments

@TimD1
Copy link

TimD1 commented Sep 17, 2024

I have a pipeline where the only errors are coming from ImportNewerWDL. Adding --suppress to the invocation (miniwdl v1.12.1) as follows:

miniwdl check --strict --suppress ImportNewerWDL workflow.wdl

causes the ImportNewerWDL errors to not be printed, but the check still fails with a non-zero exit code.

According to the documentation, "Individual warnings can be suppressed by a WDL comment containing !WarningName on the same line or the following line"

This linting hint cannot be added to the same line:

(import.wdl Ln 0 Col 0) unknown WDL version "development # !ImportNewerWDL"; choices: draft-2, 1.0, development, 1.1

and it is ignored if added to the following line like this:

version development                                                                                       
# !ImportNewerWDL 
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

No branches or pull requests

1 participant