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,6 +1,6 @@
|
|||
from __future__ import unicode_literals
|
||||
# Ensure 'assert_raises' context manager support for Python 2.6
|
||||
import tests.backport_assert_raises # flake8: noqa
|
||||
import tests.backport_assert_raises # noqa
|
||||
from nose.tools import assert_raises
|
||||
from moto.ec2.exceptions import EC2ClientError
|
||||
from botocore.exceptions import ClientError
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue