Pass PRE_COMMIT_HOME to reuse local cache
This commit is contained in:
1
tox.ini
1
tox.ini
@@ -24,6 +24,7 @@ commands =
|
|||||||
[testenv:linting]
|
[testenv:linting]
|
||||||
skip_install = True
|
skip_install = True
|
||||||
usedevelop = True
|
usedevelop = True
|
||||||
|
passenv = PRE_COMMIT_HOME
|
||||||
deps =
|
deps =
|
||||||
pre-commit
|
pre-commit
|
||||||
commands = pre-commit run --all-files --show-diff-on-failure
|
commands = pre-commit run --all-files --show-diff-on-failure
|
||||||
|
|||||||
Reference in New Issue
Block a user