Environment
interrogate version: 1.3.1
- Operating System(s): Windows
- Python version(s): 3.7.7
Description of the bug
Using the -e/--exclude argument works perfectly fine when using interrogate directly on the command line. However, when I pass it in my .pre-commit-config.yaml file like so:
- repo: https://github.com/econchick/interrogate
rev: 1.3.1 # or master if you're bold
hooks:
- id: interrogate
args: [--exclude=tests, --fail-under=100]
The argument doesn't seem to take effect. So far, I have resulted to using --ignore-regex which does work and achieves the same goal. Still, strange that --exclude doesn't seem to work. Maybe I am doing something wrong?
What you expected to happen
I expected --exclude to work using pre-commit.
Environment
interrogateversion: 1.3.1Description of the bug
Using the
-e/--excludeargument works perfectly fine when usinginterrogatedirectly on the command line. However, when I pass it in my.pre-commit-config.yamlfile like so:The argument doesn't seem to take effect. So far, I have resulted to using
--ignore-regexwhich does work and achieves the same goal. Still, strange that--excludedoesn't seem to work. Maybe I am doing something wrong?What you expected to happen
I expected
--excludeto work using pre-commit.