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):
436436 if stat_id .startswith (prefix ):
437437 table .append (
438438 [
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
440442 self .stats [stat_id ],
441443 "\n " .join (textwrap .wrap (desc , 60 )),
442444 ]
Original file line number Diff line number Diff line change @@ -7,9 +7,10 @@ allow_dirty = True
77# https://pycodestyle.readthedocs.io/en/latest/intro.html#configuration
88[pycodestyle]
99# 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 =
1314show-source = True
1415statistics = True
1516# Aligns to black's config.
You can’t perform that action at this time.
0 commit comments