Skip to content

Commit

Permalink
Merge pull request #104 from TeskaLabs/flake8-E301
Browse files Browse the repository at this point in the history
"Ale já to nechci psát jako E301"
  • Loading branch information
PremyslCerny authored May 4, 2020
2 parents 3df0ef2 + 95aed44 commit 257622a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions asab/proactor/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ def __init__(self, app, service_name):
if asab.Config.get('asab:proactor', 'default_executor'):
self.Loop.set_default_executor(self.Executor)


# There was the method run, which is obsolete
def execute(self, func, *args):
return self.Loop.run_in_executor(self.Executor, func, *args)
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
# E117: over-indented
# E501: line too long (162 > 79 characters)
# E303 too many blank lines
ignore=W191,E117,E501,E303
# E301: Expected 1 blank line, found 0
ignore=W191,E117,E501,E303,E301

0 comments on commit 257622a

Please sign in to comment.