Suggest tox --devenv instead of tox -e venv
This commit is contained in:
parent
702f1401d4
commit
f4b3add8ab
3 changed files with 3 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
4
tox.ini
4
tox.ini
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue