# HG changeset patch # User Aurélien Campéas # Date 1688741934 -7200 # Fri Jul 07 16:58:54 2023 +0200 # Node ID 28fc2d7e7bde8075cb2e66392548e3c67d0b590e # Parent c4b6c2d236ba409a3b5c279a6d8e2431b40b7a03 appease the linter gods diff --git a/rework/cli.py b/rework/cli.py --- a/rework/cli.py +++ b/rework/cli.py @@ -131,7 +131,7 @@ " 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') diff --git a/tests/conftest.py b/tests/conftest.py --- a/tests/conftest.py +++ b/tests/conftest.py @@ -9,7 +9,7 @@ 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' diff --git a/tests/test_api.py b/tests/test_api.py --- a/tests/test_api.py +++ b/tests/test_api.py @@ -495,8 +495,8 @@ 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') diff --git a/tests/test_cli.py b/tests/test_cli.py --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -105,7 +105,7 @@ # keep the other tests sane ! cleanup() - from . import tasks + from . import tasks # noqa def test_unregister_operations(engine, cli, cleanup):