Commit 039b9b3
committed
.flake8: Exclude venv and dotfiles when running flake8 from the command line
With pre-commit, flake8 is automatically run only on the diff to be
committed. However, when invoking `flake8` from the command line, the
current config covers all python files found in the entire repository,
including third-party packages in venv.
This patch teaches flake8 to exclude the venv directory as well as any
dotfiles when run from the command line.1 parent e74eb94 commit 039b9b3
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
5 | | - | |
| 6 | + | |
0 commit comments