File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616This is useful for running specific tests. The easiest way to set this up
1717is 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
2222This will create and put you into a virtualenv which has an editable
2323installation of pre-commit. Hack away! Running ` pre-commit ` will reflect
Original file line number Diff line number Diff 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
1515jobs :
1616- template : job--pre-commit.yml@asottile
Original file line number Diff line number Diff line change @@ -15,10 +15,6 @@ skip_install = true
1515deps = pre-commit
1616commands = pre-commit run --all-files --show-diff-on-failure
1717
18- [testenv:venv]
19- envdir = venv-pre_commit
20- commands =
21-
2218[pep8]
2319ignore = E265,E501,W504
2420
You can’t perform that action at this time.
0 commit comments