2 # Problems that are either not fixed yet or allowed by PEP8:
4 E123, # closing bracket does not match indentation of opening bracket's line
5 # PEP8 "may either line up under the first […] character of the last line …"
7 E125, # continuation line with same indent as next logical line
8 # allowed by PEP8 cf. https://github.com/PyCQA/pycodestyle/issues/126
10 E126, # continuation line over-indented for hanging indent
11 # some cases are mandated by PEP8 to distinguish hanging indent from nesting.
12 # Other cases improve readability.
14 E129, # visually indented line with same indent as next logical line
17 E226, # missing whitespace around arithmetic operator
18 E228, # missing whitespace around modulo operator
19 # not generally frowned on by PEP8:
20 # "If operators with different priorities are used, consider adding
21 # whitespace around the operators with the lowest priority(ies).
22 # Use your own judgment; …"
24 W503, # line break before binary operator
25 # this is the recommended style (changed on April 16th, 2016)
27 # Allow exceptions for specific files (requires flake8 >= 3.7.0)
29 # class definitions with "…: pass" on one line
30 docutils/docutils/__init__.py:E701
31 docutils/docutils/nodes.py:E701
32 docutils/docutils/io.py:E701
33 docutils/docutils/statemachine.py:E701
34 docutils/docutils/utils/__init__.py:E701
35 # start of error message should be visible in traceback
36 docutils/docutils/parsers/rst/directives/tables.py:E128
37 # complex regexp definitions
38 docutils/docutils/parsers/rst/states.py:E121,E128,E701
39 # deprecated module, will be removed
40 docutils/docutils/utils/error_reporting.py:E261
41 # module with 3rd-party origin
42 docutils/docutils/utils/math/math2html.py:E241,E501,E731
43 # generated auxiliary files
44 docutils/docutils/utils/math/unichar2tex.py:E122
45 docutils/docutils/utils/math/tex2unichar.py:E262,E501
46 # allow aligning values in data-collections
47 docutils/docutils/utils/smartquotes.py:E241
48 docutils/docutils/utils/roman.py:E241,E701
49 docutils/docutils/utils/math/latex2mathml.py:E241,E501,E701
50 docutils/docutils/writers/xetex/__init__.py:E241
51 # also allow '##' to mark deactivated code:
52 docutils/docutils/writers/latex2e/__init__.py:E241,E266
54 # included configuration files referencing externally defined variables
55 docutils/test/functional/tests/*:F821
56 # deprecated module, will be removed
57 docutils/test/test_error_reporting.py:E261
58 # Lists with multi-line test output samples
59 # may contain long lines (E501)
60 # and are not indented (E122, E124, E128)
61 docutils/test/test_parsers/*:E122,E124,E128,E501
62 docutils/test/test_publisher.py:E501
63 docutils/test/test_readers/test_pep/*:E122,E128,E501
64 docutils/test/test_transforms/*:E122,E124,E128,E501
65 docutils/test/test_writers/*:E122,E124,E128,E501
67 # ignore long line in string templates
68 docutils/tools/dev/generate_punctuation_chars.py:E501