mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-30 18:56:53 +00:00
Merge pull request #1443 from Spectre5/Add-nox-to-default-exclude-list
Add .nox to default exclude list
This commit is contained in:
commit
382cc91040
4 changed files with 6 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ EXCLUDE = (
|
|||
".git",
|
||||
"__pycache__",
|
||||
".tox",
|
||||
".nox",
|
||||
".eggs",
|
||||
"*.egg",
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue