Replace # flake8: noqa with # noqa
The former syntax is actually a mis-use and rejected since Flake8 3.6 [1]. [1] https://gitlab.com/pycqa/flake8/merge_requests/219
This commit is contained in:
parent
61698f955e
commit
18173a5951
7 changed files with 69 additions and 69 deletions
|
|
@ -1,5 +1,5 @@
|
|||
try:
|
||||
from collections import OrderedDict # flake8: noqa
|
||||
from collections import OrderedDict # noqa
|
||||
except ImportError:
|
||||
# python 2.6 or earlier, use backport
|
||||
from ordereddict import OrderedDict # flake8: noqa
|
||||
from ordereddict import OrderedDict # noqa
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue