X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=tox.ini;h=ed3b02caf331555367fe9f412512dfd759249251;hb=refs%2Fchanges%2F17%2F14217%2F1;hp=e763ca239d5f15f9cf71b6c4fc0fb817d930be62;hpb=3dd0db6efaab109fa1bd43395fbbddecf1eb73d4;p=osm%2Fcommon.git diff --git a/tox.ini b/tox.ini index e763ca2..ed3b02c 100644 --- a/tox.ini +++ b/tox.ini @@ -31,7 +31,7 @@ deps = -r{toxinidir}/requirements.txt ####################################################################################### [testenv:black] -deps = black +deps = black==23.12.1 skip_install = true commands = black --check --diff osm_common/ @@ -48,12 +48,12 @@ commands = coverage report --omit='*tests*' coverage html -d ./cover --omit='*tests*' coverage xml -o coverage.xml --omit=*tests* -whitelist_externals = sh +allowlist_externals = sh ####################################################################################### [testenv:flake8] deps = - flake8 + flake8==6.0.0 flake8-import-order commands = flake8 osm_common/ setup.py @@ -78,9 +78,9 @@ commands = ####################################################################################### [testenv:pip-compile] -deps = pip-tools==6.4.0 +deps = pip-tools==6.6.2 skip_install = true -whitelist_externals = bash +allowlist_externals = bash [ commands = - bash -c "for file in requirements*.in ; do \ @@ -103,13 +103,13 @@ commands = python3 setup.py --command-packages=stdeb.command sdist_dsc sh -c 'cd deb_dist/osm-common*/ && dpkg-buildpackage -rfakeroot -uc -us' sh -c 'rm osm_common/requirements.txt' -whitelist_externals = sh +allowlist_externals = sh ####################################################################################### [testenv:release_notes] deps = reno skip_install = true -whitelist_externals = bash +allowlist_externals = bash commands = reno new {posargs:new_feature} bash -c "sed -i -e '1 e head -16 tox.ini' releasenotes/notes/{posargs:new_feature}*.yaml"