Suggest tox --devenv instead of tox -e venv

This commit is contained in:
Anthony Sottile
2019-06-25 18:19:10 -07:00
parent 702f1401d4
commit f4b3add8ab
3 changed files with 3 additions and 7 deletions

View File

@@ -16,8 +16,8 @@
This is useful for running specific tests. The easiest way to set this up
is to run:
1. `tox -e venv`
2. `. venv-pre_commit/bin/activate`
1. `tox --devenv venv` (note: requires tox>=3.13)
2. `. venv/bin/activate`
This will create and put you into a virtualenv which has an editable
installation of pre-commit. Hack away! Running `pre-commit` will reflect

View File

@@ -10,7 +10,7 @@ resources:
type: github
endpoint: github
name: asottile/azure-pipeline-templates
ref: refs/tags/v0.0.14
ref: refs/tags/v0.0.15
jobs:
- template: job--pre-commit.yml@asottile

View File

@@ -15,10 +15,6 @@ 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