File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -436,7 +436,9 @@ def report(self):
436
436
if stat_id .startswith (prefix ):
437
437
table .append (
438
438
[
439
- stat_id [len (prefix ) :].replace ("_" , " - " ).title (),
439
+ # XXX noqa ignore pycodestyle bug.
440
+ # See: https://github.com/PyCQA/pycodestyle/pull/914
441
+ stat_id [len (prefix ) :].replace ("_" , " - " ).title (), # noqa
440
442
self .stats [stat_id ],
441
443
"\n " .join (textwrap .wrap (desc , 60 )),
442
444
]
Original file line number Diff line number Diff line change @@ -7,9 +7,10 @@ allow_dirty = True
7
7
# https://pycodestyle.readthedocs.io/en/latest/intro.html#configuration
8
8
[pycodestyle]
9
9
# https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes
10
- # E203: Temporary ignore while we wait for
11
- # https://github.com/PyCQA/pycodestyle/pull/914 to be merged.
12
- ignore = E203
10
+ # Beware of the ignore parameter which is overriding default sensitive rule list. See:
11
+ # https://github.com/PyCQA/pycodestyle/blame/a1b1f7c795ace4c186fd76ec6df994deb716cea8/docs/intro.rst#L434-L435
12
+ # https://github.com/PyCQA/pycodestyle/issues/965
13
+ ignore =
13
14
show-source = True
14
15
statistics = True
15
16
# Aligns to black's config.
You can’t perform that action at this time.
0 commit comments