From 881d111aa010939535337ae464c9a8a8db72c13d Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Fri, 1 Nov 2024 14:38:53 -0400 Subject: [PATCH] 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 --- src/cephadm/tox.ini | 14 +++++++------- 1 file 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} -- 2.47.3