Skip to content

Commit f4b3add

Browse files
committed
Suggest tox --devenv instead of tox -e venv
1 parent 702f140 commit f4b3add

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
This is useful for running specific tests. The easiest way to set this up
1717
is to run:
1818

19-
1. `tox -e venv`
20-
2. `. venv-pre_commit/bin/activate`
19+
1. `tox --devenv venv` (note: requires tox>=3.13)
20+
2. `. venv/bin/activate`
2121

2222
This will create and put you into a virtualenv which has an editable
2323
installation of pre-commit. Hack away! Running `pre-commit` will reflect

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ resources:
1010
type: github
1111
endpoint: github
1212
name: asottile/azure-pipeline-templates
13-
ref: refs/tags/v0.0.14
13+
ref: refs/tags/v0.0.15
1414

1515
jobs:
1616
- template: job--pre-commit.yml@asottile

tox.ini

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ skip_install = true
1515
deps = pre-commit
1616
commands = pre-commit run --all-files --show-diff-on-failure
1717

18-
[testenv:venv]
19-
envdir = venv-pre_commit
20-
commands =
21-
2218
[pep8]
2319
ignore = E265,E501,W504
2420

0 commit comments

Comments
 (0)