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.
5 lines
133 B
TOML
5 lines
133 B
TOML
target-version = "py310"
|
|
|
|
[lint]
|
|
# Blind excepts and silent cleanup in mail parsing are intentional here.
|
|
ignore = ["BLE001", "S110"] |