quine-anaconda-webui/.flake8
Martin Pitt 1159585726 flake8: Add config
We eventually want to use our standard "max line length 118" config from
other projects, but currently the tests use line lengths up to 149.
Bound it to that value at least.

Disable "module level import not at top of file" for the time
being. The tests need to be updated to Cockpit's current test shebang
for that, plus adjusting it for the local common/helpers.

Also disable "ambiguous varialbe name `l`" -- too many tests use this,
and it's a handy shortcut.
2024-02-07 23:47:04 +01:00

8 lines
293 B
INI

[flake8]
# we want 118, but fix tests first
#max-line-length = 118
max-line-length = 149
# E402: module level import not at top of file; needs updating the tests to current cockpit standard
# W504: line break after binary operator
# E741: ambiguous variable name 'l'
ignore = E402, W504, E741