mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-20 01:24:42 +04:00
restore testenv:venv section. to be able to set the dev environment as described in the CONTRIBUTING.md
This commit is contained in:
parent
e10b81858a
commit
471fe7d58f
1 changed files with 5 additions and 0 deletions
5
tox.ini
5
tox.ini
|
|
@ -1,4 +1,5 @@
|
||||||
[tox]
|
[tox]
|
||||||
|
project = pre_commit
|
||||||
envlist = py27,py36,py37,pypy,pypy3,pre-commit
|
envlist = py27,py36,py37,pypy,pypy3,pre-commit
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
|
|
@ -10,6 +11,10 @@ commands =
|
||||||
coverage report --fail-under 100
|
coverage report --fail-under 100
|
||||||
pre-commit install
|
pre-commit install
|
||||||
|
|
||||||
|
[testenv:venv]
|
||||||
|
envdir = venv-{[tox]project}
|
||||||
|
commands =
|
||||||
|
|
||||||
[testenv:pre-commit]
|
[testenv:pre-commit]
|
||||||
skip_install = true
|
skip_install = true
|
||||||
deps = pre-commit
|
deps = pre-commit
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue