You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That is because in the first case __init__.py are not ignored, while in the second case they are correctly ignored as by -I documentation.
I've done the test also on -M and -i but these two parameter works properly resulting in the same output on both executions.
What you expected to happen
Output of both run should be exactly the same
How to reproduce (as minimally and precisely as possible)
Run interrogate with -I parameter using pre-commit and using cli on an __init__.py file that lacks documentation, the one from cli should pass, the one from interrogate should wrongly fail.
Anthing else we need to know?
I guess it's pretty much the same problem of #60 but here there's no workaround!
The text was updated successfully, but these errors were encountered:
Environment
Description of the bug
I'm trying to use interrogate through pre-commit with this hook
If I run
pre-commit run --all-files
I obtain
If instead I run
interrogate -vv -i -I -M --fail-under=60 .
I obtain
That is because in the first case
__init__.py
are not ignored, while in the second case they are correctly ignored as by -I documentation.I've done the test also on -M and -i but these two parameter works properly resulting in the same output on both executions.
What you expected to happen
Output of both run should be exactly the same
How to reproduce (as minimally and precisely as possible)
Run interrogate with -I parameter using pre-commit and using cli on an
__init__.py
file that lacks documentation, the one from cli should pass, the one from interrogate should wrongly fail.Anthing else we need to know?
I guess it's pretty much the same problem of #60 but here there's no workaround!
The text was updated successfully, but these errors were encountered: