forked from galaxyproject/galaxy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
linting: restore possibiity to skip old linter function names
until 23.2 we had linter functions lint_xyz in linter modules xyz. with 24.0 we splited the functions linter classes. lint contexts allow to skip linters by name (xyz for the old functions now the class name), i.e. we can not skip by the old names anymore. this may break planemo command lines xref galaxyproject/planemo#1441 (comment). here I suggest to add a check for the module name against the names listed in the skip list. this restores the possibility to skip by old linter names and adds the possibility to skip whole linter modules (which might be handy anyway). tried to add some tests that hopefully help to maintain this functionality.
- Loading branch information
1 parent
0a784e4
commit 86a127a
Showing
3 changed files
with
92 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters