summaryrefslogtreecommitdiff
path: root/docutils/tox.ini
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2022-03-04 15:54:22 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2022-03-04 15:54:22 +0000
commite61bd1ea93dcbc0ceaba0c8fbb3312c54efaaa0a (patch)
tree9a3d67e207c783186d97a8500034c556044c53d5 /docutils/tox.ini
parentfb90874a991c64da4340b1f09badbf846ba6152b (diff)
downloaddocutils-e61bd1ea93dcbc0ceaba0c8fbb3312c54efaaa0a.tar.gz
Ensure at least two spaces before inline comment.
flake 8 rule E261 Exceptions for modules sheduled for removal or with 3rd-party origin and for data collections. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9021 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/tox.ini')
-rw-r--r--docutils/tox.ini11
1 files changed, 7 insertions, 4 deletions
diff --git a/docutils/tox.ini b/docutils/tox.ini
index cc263a6b0..08b2e599f 100644
--- a/docutils/tox.ini
+++ b/docutils/tox.ini
@@ -38,7 +38,6 @@ ignore =
# whitespace around the operators with the lowest priority(ies).
# Use your own judgment; …"
- E261, # at least two spaces before inline comment
E262, # inline comment should start with '# '
E265, # block comment should start with '# '
E266, # too many leading '#' for block comment
@@ -77,18 +76,22 @@ per-file-ignores =
docutils/parsers/rst/directives/tables.py:E128
# complex regexp definitions
docutils/parsers/rst/states.py:E121,E128
+ # deprecated module, will be removed
+ docutils/utils/error_reporting.py:E261
# module with 3rd-party origin
- docutils/utils/math/math2html.py:E111,E114,E123,E241
+ docutils/utils/math/math2html.py:E111,E114,E123,E241,E261
# generated auxiliary files
docutils/utils/math/unichar2tex.py:E122
- docutils/utils/math/tex2unichar.py:E123
+ docutils/utils/math/tex2unichar.py:E123,E261
# allow aligning values in data-collections
docutils/utils/smartquotes.py:E241
docutils/utils/roman.py:E241
- docutils/utils/math/latex2mathml.py:E241
+ docutils/utils/math/latex2mathml.py:E241,E261
docutils/writers/latex2e/__init__.py:E241
docutils/writers/xetex/__init__.py:E241
+ # deprecated module, will be removed
+ test/test_error_reporting.py:E261
# included configuration files referencing externally defined variables
test/functional/tests/*:F821
# don't indent list delimiters in lists of test samples (multi-line strings)