ci: add flake8 lint workflow; fix unused imports

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:
jaredandClaude Sonnet 4.6 committed 2026-04-13 22:23:26 -04:00
1 parent de5677fe4d
commit 3aff52f972
4 files changed
+29 -3

No files matched your search

+1 -2
View File
@@ -6,9 +6,8 @@ Executed in a background thread; results stored in _diag_jobs (app.py).
"""
import re
import shlex
import time
import logging
from typing import Dict, List, Optional, Tuple
from typing import Dict, List, Optional
logger = logging.getLogger('gandalf.diagnose')