ci: add flake8 lint workflow; fix unused imports and f-string issues
Lint / Python (flake8) (push) Successful in 19s

Removes unused datetime/re imports (F401). Removes f prefix from
2 f-strings with no placeholders (F541). Fixes trailing whitespace
and missing newline (W291/W292). Config ignores style-only rules.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-14 00:08:11 -04:00
parent 2ffcb79f19
commit 775d0ffce6
3 changed files with 39 additions and 9 deletions
+9
View File
@@ -0,0 +1,9 @@
[flake8]
max-line-length = 120
# E302/E303: blank lines around functions — relaxed style
# W293: blank line whitespace
# E501: long lines
# F841: unused local variables — intentional in many except/parse blocks
# E261: inline comment spacing
extend-ignore = E302, E303, W293, E501, F841, E261
exclude = __pycache__, .git