fix: make ruff lint pass in CI
Add .ruff.toml ignoring BLE001/S110 (intentional mail parsing), apply ruff auto-fixes (imports, Optional->X|None), and fix format, shebang and PORT env default.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
target-version = "py310"
|
||||
|
||||
[lint]
|
||||
# Blind excepts and silent cleanup in mail parsing are intentional here.
|
||||
ignore = ["BLE001", "S110"]
|
||||
Reference in New Issue
Block a user