X-Git-Url: https://gerrit.onap.org/r/gitweb?p=oom.git;a=blobdiff_plain;f=tox.ini;fp=tox.ini;h=6388e88ceafd0ca45e47b5e9b5dd2500a10711f4;hp=01019bbd18fef5b2aa855f5918cfcc07a6a0908f;hb=296fa7fdb76c56a2d59e6f33f5e8745c23138f9b;hpb=73f3459e00bc391c8639a3bb2d56a15599f2b824 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