Merge pull request #1443 from Spectre5/Add-nox-to-default-exclude-list

Add .nox to default exclude list
This commit is contained in:
Ian Stapleton Cordasco 2021-11-08 06:24:02 -06:00 committed by GitHub
commit 382cc91040
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 3 deletions

View file

@ -44,7 +44,8 @@ All options available as of Flake8 3.1.0::
unified diff provided on standard in by the user.
--exclude=patterns Comma-separated list of files or directories to
exclude. (Default:
.svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.eggs,*.egg)
.svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.nox,.eggs,
*.egg)
--filename=patterns Only check for filenames matching the patterns in this
comma-separated list. (Default: *.py)
--stdin-display-name=STDIN_DISPLAY_NAME

View file

@ -98,7 +98,8 @@ And you should see something like:
unified diff provided on standard in by the user.
--exclude=patterns Comma-separated list of files or directories to
exclude.(Default:
.svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.eggs,*.egg)
.svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.nox,.eggs,
*.egg)
--filename=patterns Only check for filenames matching the patterns in this
comma-separated list. (Default: *.py)
--format=format Format errors according to the chosen formatter.

View file

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

View file

@ -9,6 +9,7 @@ EXCLUDE = (
".git",
"__pycache__",
".tox",
".nox",
".eggs",
"*.egg",
)