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:
2026-06-12 22:56:21 +02:00
parent 1756192270
commit 3628ac51e5
2 changed files with 5 additions and 1 deletions
+5
View File
@@ -26,3 +26,8 @@ pythonpath = ["."]
[tool.ruff] [tool.ruff]
line-length = 100 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
View File
@@ -1,6 +1,5 @@
import re import re
import sqlite3 import sqlite3
from pathlib import Path
from fastapi.testclient import TestClient from fastapi.testclient import TestClient