Skip to content

Commit 54fe722

Browse files
committed
Add ruff directive to ignore E402 in test_cors.py
- Added a ruff directive to `test_cors.py` to suppress the E402 error, allowing imports to be placed after code statements for improved organization. - This change enhances code readability while maintaining functionality in the test setup.
1 parent f0e3a83 commit 54fe722

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

state-manager/tests/unit/config/test_cors.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
project_root = str(pathlib.Path(__file__).parent.parent.parent.parent)
77
sys.path.insert(0, project_root)
88

9+
# ruff: noqa: E402
910
from app.config.cors import get_cors_origins, get_cors_config
1011

1112

0 commit comments

Comments
 (0)