Add -exclude-files
and -exclude-funcs
options
#3
Labels
feature
New feature or request
good first issue
Good for newcomers
help wanted
Contributions are welcome
Implement two new options allowing to specify regexp to exclude matching files and functions from diagnostics.
Options should be added to:
To implement
-exclude-funcs
, it should be enough to match function name inskip()
function.For
-exclude-files
, a more complicated logic is probably required. We don't have file information inskip()
, so we'll need to obtain it somehow, or probably adjust AST traversal algorithm a bit.We should also add two new tests for each option, which check that diagnostic is NOT reported for ignored files / functions.
The text was updated successfully, but these errors were encountered: