Skip to content

Commit

Permalink
fix: same setup for worker.py
Browse files Browse the repository at this point in the history
  • Loading branch information
leosussan committed May 13, 2020
1 parent cf85365 commit ba68eb4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ max-complexity = 18
select = B,C,E,F,W,T4,B9
per-file-ignores =
app/models/orm/migrations/env.py:E402
app/main.py:E402
app/main.py:E402
app/worker.py:E402
6 changes: 6 additions & 0 deletions app/worker.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# isort:skip_file

import sys

sys.path.extend(["./"])

from pydantic.utils import import_string

from .application import db
Expand Down

0 comments on commit ba68eb4

Please sign in to comment.