Update flake8 in tox.ini for py312 compatibility
Summary of changes: - Bump flake8 from 3.9.2 to 7.1.1 - Add py312 section to tox.ini [testenv] Change-Id: I7a4f506756e74291b312c494719d7d50c39407a8
This commit is contained in:
7
tox.ini
7
tox.ini
@@ -49,6 +49,11 @@ commands =
|
|||||||
{toxinidir}/rename.sh
|
{toxinidir}/rename.sh
|
||||||
charmcraft clean
|
charmcraft clean
|
||||||
|
|
||||||
|
[testenv:py312]
|
||||||
|
basepython = python3.12
|
||||||
|
deps = -r{toxinidir}/requirements.txt
|
||||||
|
-r{toxinidir}/test-requirements.txt
|
||||||
|
|
||||||
[testenv:py310]
|
[testenv:py310]
|
||||||
basepython = python3.10
|
basepython = python3.10
|
||||||
deps =
|
deps =
|
||||||
@@ -70,7 +75,7 @@ deps =
|
|||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
deps = flake8==3.9.2
|
deps = flake8==7.1.1
|
||||||
git+https://github.com/juju/charm-tools.git
|
git+https://github.com/juju/charm-tools.git
|
||||||
commands = flake8 {posargs} hooks unit_tests tests actions lib files
|
commands = flake8 {posargs} hooks unit_tests tests actions lib files
|
||||||
charm-proof
|
charm-proof
|
||||||
|
|||||||
Reference in New Issue
Block a user