From 471fe7d58f99f7276cfe8f77803a8d5227f7c85f Mon Sep 17 00:00:00 2001 From: Yoav Caspi Date: Mon, 13 May 2019 23:14:41 +0300 Subject: [PATCH 1/2] restore testenv:venv section. to be able to set the dev environment as described in the CONTRIBUTING.md --- tox.ini | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tox.ini b/tox.ini index 0ee1611f..105cca6c 100644 --- a/tox.ini +++ b/tox.ini @@ -1,4 +1,5 @@ [tox] +project = pre_commit envlist = py27,py36,py37,pypy,pypy3,pre-commit [testenv] @@ -10,6 +11,10 @@ commands = coverage report --fail-under 100 pre-commit install +[testenv:venv] +envdir = venv-{[tox]project} +commands = + [testenv:pre-commit] skip_install = true deps = pre-commit From bb78de09d1987f46e1b7eb6286abb5425bec7b70 Mon Sep 17 00:00:00 2001 From: Yoav Caspi Date: Tue, 14 May 2019 00:08:54 +0300 Subject: [PATCH 2/2] move testenv:venv section to be in lexicographic order --- tox.ini | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tox.ini b/tox.ini index 105cca6c..a63b6533 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,4 @@ [tox] -project = pre_commit envlist = py27,py36,py37,pypy,pypy3,pre-commit [testenv] @@ -11,15 +10,15 @@ commands = coverage report --fail-under 100 pre-commit install -[testenv:venv] -envdir = venv-{[tox]project} -commands = - [testenv:pre-commit] skip_install = true deps = pre-commit commands = pre-commit run --all-files --show-diff-on-failure +[testenv:venv] +envdir = venv-pre_commit +commands = + [pep8] ignore = E265,E501,W504