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
Please describe the problem or feature
Running two flake8 jobs, a full scan and a diff check, only one of them respects the directories in exclude sections when written as described in the documentation examples I found 12.
If this is a bug report, please explain with examples (and example code) what you expected to happen and what actually happened.
--diff is equivalent to telling flake8 lint these files and only report errors on changed lines. --exclude is difficult here. I'm also fairly certain that --diff should disappear
Please describe how you installed Flake8
Please provide the exact, unmodified output of
flake8 --bug-report
Please describe the problem or feature
Running two flake8 jobs, a full scan and a diff check, only one of them respects the directories in
exclude
sections when written as described in the documentation examples I found 1 2.If this is a bug report, please explain with examples (and example code) what you expected to happen and what actually happened.
I'm using the following configuration:
setup.cfg:
Then add some error in some file placed in directory named
thirdParty
.Running the following job does not produce any findings:
But running this command will find the issue:
my output:
Workaround:
changing the exclude section to:
makes also the diff example run without any findings.
The text was updated successfully, but these errors were encountered: