Allow the test env to use the latest flake8. This gets us a working
version of flak8 on python3.12 and matches the tox configuration in
src/pybind/mgr.
Signed-off-by: John Mulligan <jmulligan@redhat.com>
max-line-length = 100
inline-quotes = '
ignore =
- E501, \
+ E501,
W503,
exclude =
- .tox, \
- .vagrant, \
- __pycache__, \
- *.pyc, \
- templates, \
+ .tox,
+ .vagrant,
+ __pycache__,
+ *.pyc,
+ templates,
.eggs
statistics = True
[testenv:flake8]
allowlist_externals = bash
deps =
- flake8 == 5.0.4
+ flake8
flake8-quotes
commands =
flake8 --config=tox.ini {posargs:cephadm.py cephadmlib}