ci: add flake8 lint workflow; fix unused imports and f-string issues
Lint / Python (flake8) (push) Failing after 4s
Lint / Python (flake8) (push) Failing after 4s
Adds .gitea/workflows/lint.yml running flake8 with .flake8 config. Removes unused sys/urllib.request imports (F401). Removes f prefix from 52 f-strings that had no placeholders (F541). Auto-fixes trailing whitespace in blank lines (W293) via autopep8. Fixes over-indentation in LXC storage check try block (E117). Config ignores F841 (unused locals) and E501 (long lines). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Reference in New Issue
Block a user