X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=tox.ini;h=6388e88ceafd0ca45e47b5e9b5dd2500a10711f4;hb=63e6a06f1e90af67e44b3194459ce8d4d3f853fb;hp=01019bbd18fef5b2aa855f5918cfcc07a6a0908f;hpb=9e54dd9d9655b07dd983a187b6c666226723e15b;p=oom.git diff --git a/tox.ini b/tox.ini index 01019bbd18..6388e88cea 100644 --- a/tox.ini +++ b/tox.ini @@ -112,3 +112,9 @@ commands = # As a result, the line above is always skipped in jenkins CI since there cannot be a .git/COMMIT_EDITMSG file. # A dedicated gitlint profile for CI is proposed above. Also to behave fine locally, this profile must have access # to the HOME variable so that Gitlint can retrieve Git user settings. + +[testenv:pre-commit-autoupdate] +basepython = python3 +deps = pre-commit +commands = + pre-commit autoupdate