Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Ale já to nechci psát jako E301" #104

Merged
merged 1 commit into from
May 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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