Skip to content

Commit 881d111

Browse files
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 <[email protected]>
1 parent a529b23 commit 881d111

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/cephadm/tox.ini

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ skipsdist = true
1212
max-line-length = 100
1313
inline-quotes = '
1414
ignore =
15-
E501, \
15+
E501,
1616
W503,
1717
exclude =
18-
.tox, \
19-
.vagrant, \
20-
__pycache__, \
21-
*.pyc, \
22-
templates, \
18+
.tox,
19+
.vagrant,
20+
__pycache__,
21+
*.pyc,
22+
templates,
2323
.eggs
2424
statistics = True
2525
@@ -53,7 +53,7 @@ commands = mypy --config-file ../mypy.ini {posargs:cephadm.py cephadmlib}
5353
[testenv:flake8]
5454
allowlist_externals = bash
5555
deps =
56-
flake8 == 5.0.4
56+
flake8
5757
flake8-quotes
5858
commands =
5959
flake8 --config=tox.ini {posargs:cephadm.py cephadmlib}

0 commit comments

Comments
 (0)