cbbafa05c2
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>
7 lines
265 B
INI
7 lines
265 B
INI
[flake8]
|
|
max-line-length = 120
|
|
# F841: local variable assigned but never used — many are intentional debug/future-use assignments
|
|
# E501: line too long — URLs and log messages in monitoring code are exempt
|
|
extend-ignore = F841, E501
|
|
exclude = __pycache__, .git
|