M rework/cli.py +1 -1
@@ 131,7 131,7 @@ def new_worker(**config):
" spawn a new worker -- this is a purely *internal* command "
if config.get('debug_port', 0):
try:
- import pystuck
+ import pystuck # noqa
except ImportError:
print('--debug-port is unsupported without `pystuck` ')
print('try "pip install pystuck" to make it work')
M tests/conftest.py +1 -1
@@ 9,7 9,7 @@ from pytest_sa_pg import db
from rework import api, cli as rcli, schema
# our test tasks
-from . import tasks as _tasks
+from . import tasks as _tasks # noqa
DATADIR = Path(__file__).parent / 'data'
M tests/test_api.py +2 -2
@@ 495,8 495,8 @@ def test_with_noinput(engine, cleanup):
def test_schedule_domain(engine, cleanup):
reset_ops(engine)
- from . import task_testenv
- from . import task_prodenv
+ from . import task_testenv # noqa
+ from . import task_prodenv # noqa
api.freeze_operations(engine, domain='test')
api.freeze_operations(engine, domain='production')
M tests/test_cli.py +1 -1
@@ 105,7 105,7 @@ def test_register_operations(engine, cli
# keep the other tests sane !
cleanup()
- from . import tasks
+ from . import tasks # noqa
def test_unregister_operations(engine, cli, cleanup):