]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cepadm: update tox.init to use latest flake 8 versions 60587/head
authorJohn Mulligan <jmulligan@redhat.com>
Fri, 1 Nov 2024 18:38:53 +0000 (14:38 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Mon, 4 Nov 2024 20:38:43 +0000 (15:38 -0500)
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>
src/cephadm/tox.ini

index b999a0f552b321e974b88cb60a3667f6fdb2aeed..d643b1ba74f9dcb29cdf605f2e7343a8deec1867 100644 (file)
@@ -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}