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

add planemo lint error/warn level parameters #23

Merged
merged 3 commits into from
Apr 19, 2022

Conversation

bernt-matthias
Copy link
Collaborator

and set stricter defaults

bernt-matthias added a commit to bernt-matthias/galaxy-tool-repository-template that referenced this pull request Sep 20, 2021
bernt-matthias added a commit to bernt-matthias/galaxy-tool-repository-template that referenced this pull request Sep 20, 2021
bernt-matthias added a commit to bernt-matthias/iwc that referenced this pull request Sep 21, 2021
values are the defaults that will be introduced in galaxyproject/planemo-ci-action#23 but I think its a good idea to add them here anyway .. just in case anyone uses the repo as template.

fail level warn will be more strict that before, but I guess this is a good
idea
README.md Outdated
Optional inputs:

- `report_level`: all|warn|error (default: all)
- `fail_level`: warn|error (default: warn)
Copy link
Member

Choose a reason for hiding this comment

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

I think the default should be error. If there are instances that are clearly bugs we should elevate them in the linter to error.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

My rationale was that warnings correspond to violations of best practices which we usually do not want. But we can also do this per repo (I would definitely suggest this for the IUC).

@bernt-matthias
Copy link
Collaborator Author

@mvdbeek this should be good to go.

Copy link
Member

@mvdbeek mvdbeek left a comment

Choose a reason for hiding this comment

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

Sorry, dropped the ball here. Looks good to me!

@bernt-matthias bernt-matthias merged commit 1c5a5d5 into galaxyproject:main Apr 19, 2022
@bernt-matthias bernt-matthias deleted the topic/lint_levels branch April 19, 2022 09:08
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