Skip to content

Fix Ruff E402 import-order errors in test module#2

Merged
srichs merged 1 commit into
mainfrom
codex/fix-ruff-ci-error
Feb 11, 2026
Merged

Fix Ruff E402 import-order errors in test module#2
srichs merged 1 commit into
mainfrom
codex/fix-ruff-ci-error

Conversation

@srichs

@srichs srichs commented Feb 11, 2026

Copy link
Copy Markdown
Owner

Motivation

  • Address Ruff E402 "module level import not at top of file" triggered by the project-root sys.path bootstrap in tests/test_spot_api.py while keeping the test import behavior unchanged.

Description

  • Annotated the intentionally late imports in tests/test_spot_api.py with # noqa: E402 so the sys.path insertion is preserved and Ruff's import-order rule is satisfied.

Testing

  • Ran ruff check . which passed and ran pytest -q which reported 119 passed.

Codex Task

@srichs srichs merged commit 74afc1b into main Feb 11, 2026
6 of 8 checks passed
@srichs srichs deleted the codex/fix-ruff-ci-error branch February 11, 2026 03:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant