ci: add flake8 lint workflow; fix unused imports
Lint / Python (flake8) (push) Failing after 4s

Adds .gitea/workflows/lint.yml running flake8 with .flake8 config.
Removes unused imports (flask.redirect, flask.url_for, time, typing.Tuple).
Config ignores E221/E305 (intentional column alignment and function spacing).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-13 22:23:26 -04:00
parent d576a0fe2d
commit 3dfcd5903a
4 changed files with 29 additions and 3 deletions
+6
View File
@@ -0,0 +1,6 @@
[flake8]
max-line-length = 120
# E221: multiple spaces before operator — intentional column alignment
# E305: two blank lines after function — relaxed for module-level code
extend-ignore = E221, E305
exclude = __pycache__, .git