chore(m2): green the ruff baseline before M2 orchestration
- ignore E402 in scripts/*.py (deliberate sys.path bootstrap before app imports) - drop unused pathlib.Path import in tests/test_auth.py Establishes a clean ruff gate so each M2 task can be verified green at its boundary.
This commit is contained in:
@@ -26,3 +26,8 @@ pythonpath = ["."]
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 100
|
||||
|
||||
[tool.ruff.lint.per-file-ignores]
|
||||
# Scripts bootstrap sys.path before importing app modules, so their top-level
|
||||
# app imports legitimately sit below executable setup code.
|
||||
"scripts/*.py" = ["E402"]
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import re
|
||||
import sqlite3
|
||||
from pathlib import Path
|
||||
|
||||
from fastapi.testclient import TestClient
|
||||
|
||||
|
||||
Reference in New Issue
Block a user