diff options
author | John Mulligan <jmulligan@redhat.com> | 2024-11-01 19:38:53 +0100 |
---|---|---|
committer | John Mulligan <jmulligan@redhat.com> | 2024-11-04 21:38:43 +0100 |
commit | 881d111aa010939535337ae464c9a8a8db72c13d (patch) | |
tree | 65e3a9d20c1adafc62657bab26265b9c7844ec8e /src/cephadm | |
parent | cephadm: mock a call to shutil.rmtree (diff) | |
download | ceph-881d111aa010939535337ae464c9a8a8db72c13d.tar.xz ceph-881d111aa010939535337ae464c9a8a8db72c13d.zip |
cepadm: update tox.init to use latest flake 8 versions
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>
Diffstat (limited to 'src/cephadm')
-rw-r--r-- | src/cephadm/tox.ini | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/cephadm/tox.ini b/src/cephadm/tox.ini index b999a0f552b..d643b1ba74f 100644 --- a/src/cephadm/tox.ini +++ b/src/cephadm/tox.ini @@ -12,14 +12,14 @@ skipsdist = true max-line-length = 100 inline-quotes = ' ignore = - E501, \ + E501, W503, exclude = - .tox, \ - .vagrant, \ - __pycache__, \ - *.pyc, \ - templates, \ + .tox, + .vagrant, + __pycache__, + *.pyc, + templates, .eggs statistics = True @@ -53,7 +53,7 @@ commands = mypy --config-file ../mypy.ini {posargs:cephadm.py cephadmlib} [testenv:flake8] allowlist_externals = bash deps = - flake8 == 5.0.4 + flake8 flake8-quotes commands = flake8 --config=tox.ini {posargs:cephadm.py cephadmlib} |