Exclude virtual env dirs by default

This commit is contained in:
Kamil Paduszyński 2023-06-28 12:46:19 +02:00 committed by GitHub
parent 4076373a3d
commit 1ee6bd2acc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -234,7 +234,7 @@ Options and their Descriptions
Provide a comma-separated list of glob patterns to exclude from checks. Provide a comma-separated list of glob patterns to exclude from checks.
This defaults to: ``.svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.nox,.eggs,*.egg`` This defaults to: ``.svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.nox,.eggs,*.egg,.env,env,.venv,venv``
Example patterns: Example patterns:

View file

@ -14,6 +14,10 @@ EXCLUDE = (
".nox", ".nox",
".eggs", ".eggs",
"*.egg", "*.egg",
".env",
"env",
".venv",
"venv",
) )
IGNORE = ("E121", "E123", "E126", "E226", "E24", "E704", "W503", "W504") IGNORE = ("E121", "E123", "E126", "E226", "E24", "E704", "W503", "W504")
MAX_LINE_LENGTH = 79 MAX_LINE_LENGTH = 79