fix(ci): restore noqa E402 on deferred imports
ci / lint-prettier (push) Successful in 8s
ci / lint-ruff (push) Successful in 4s
ci / lint-yaml (push) Successful in 5s
ci / lint-dockerfiles (push) Successful in 4s
ci / validate (push) Successful in 4s
ci / lint-audit (push) Failing after 47s
ci / publish (push) Successful in 13s
ci / lint-prettier (push) Successful in 8s
ci / lint-ruff (push) Successful in 4s
ci / lint-yaml (push) Successful in 5s
ci / lint-dockerfiles (push) Successful in 4s
ci / validate (push) Successful in 4s
ci / lint-audit (push) Failing after 47s
ci / publish (push) Successful in 13s
This commit is contained in:
@@ -51,8 +51,8 @@ os.environ["TELEGRAM_SCRAPER_PORT"] = "0"
|
||||
os.environ["TELEGRAM_SCRAPER_START_CONTINUOUS"] = "0"
|
||||
|
||||
# Now safe to import app modules
|
||||
import app_state
|
||||
from app_state import (
|
||||
import app_state # noqa: E402
|
||||
from app_state import ( # noqa: E402
|
||||
ACCOUNT_DEFAULTS,
|
||||
account_data_dir,
|
||||
account_exists,
|
||||
@@ -62,7 +62,7 @@ from app_state import (
|
||||
list_accounts,
|
||||
load_account,
|
||||
)
|
||||
from health import health_payload
|
||||
from health import health_payload # noqa: E402
|
||||
|
||||
|
||||
def _init_test_env():
|
||||
@@ -1564,6 +1564,6 @@ def cleanup_test_data():
|
||||
shutil.rmtree(str(TEST_TMP), ignore_errors=True)
|
||||
|
||||
|
||||
import atexit
|
||||
import atexit # noqa: E402
|
||||
|
||||
atexit.register(cleanup_test_data)
|
||||
atexit.register(cleanup_test_data) # noqa: E402
|
||||
|
||||
Reference in New Issue
Block a user