Skip to content

Commit

Permalink
Merge pull request #7 from aio-libs/flake8
Browse files Browse the repository at this point in the history
Update for flake8 3.0
  • Loading branch information
warsaw committed Aug 15, 2016
2 parents d002ea4 + ee516a8 commit 26148f2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion aiosmtpd/testing/nose.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class NosePlugin(Plugin):
def __init__(self):
super(NosePlugin, self).__init__()
self.patterns = []
def set_debug(ignore): # noqa
def set_debug(ignore): # noqa: E301
logging.basicConfig(level=logging.DEBUG)
log = logging.getLogger('mail.log')
log.setLevel(logging.DEBUG)
Expand Down
2 changes: 1 addition & 1 deletion aiosmtpd/tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def setUp(self):
self.addCleanup(log.setLevel, old_log_level)
loop = asyncio.get_event_loop()
self.resources = ExitStack()
def run_forever(*args): # noqa
def run_forever(*args): # noqa: E301
pass
self.resources.enter_context(
patch.object(loop, 'run_forever', run_forever))
Expand Down
1 change: 0 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ commands =
python -m flake8 aiosmtpd
deps =
flake8
flake8-respect-noqa

[testenv:docs]
basepython = python3
Expand Down

0 comments on commit 26148f2

Please sign in to comment.