mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-13 08:04:18 +00:00
Note that we need at least Sphinx 1.3
Exclude sphinx conf.py from flake8
This commit is contained in:
parent
e66fc2efa8
commit
11be73dbbb
2 changed files with 5 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ import os
|
||||||
# -- General configuration ------------------------------------------------
|
# -- General configuration ------------------------------------------------
|
||||||
|
|
||||||
# If your documentation needs a minimal Sphinx version, state it here.
|
# If your documentation needs a minimal Sphinx version, state it here.
|
||||||
#needs_sphinx = '1.0'
|
needs_sphinx = '1.3'
|
||||||
|
|
||||||
# Add any Sphinx extension module names here, as strings. They can be
|
# Add any Sphinx extension module names here, as strings. They can be
|
||||||
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
||||||
|
|
|
||||||
4
tox.ini
4
tox.ini
|
|
@ -49,3 +49,7 @@ commands =
|
||||||
[flake8]
|
[flake8]
|
||||||
# Ignore some flake8-docstrings errors
|
# Ignore some flake8-docstrings errors
|
||||||
ignore = D203
|
ignore = D203
|
||||||
|
# NOTE(sigmavirus24): Once we release 3.0.0 this exclude option can be specified
|
||||||
|
# across multiple lines. Presently it cannot be specified across multiple lines.
|
||||||
|
# :-(
|
||||||
|
exclude = .git,__pycache__,docs/source/conf.py
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue