Merge pull request #1067 from pre-commit/devenv

Suggest tox --devenv instead of tox -e venv
This commit is contained in:
Anthony Sottile 2019-06-26 07:43:06 -07:00 committed by GitHub
commit 0cf2638b3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 This is useful for running specific tests. The easiest way to set this up
is to run: is to run:
1. `tox -e venv` 1. `tox --devenv venv` (note: requires tox>=3.13)
2. `. venv-pre_commit/bin/activate` 2. `. venv/bin/activate`
This will create and put you into a virtualenv which has an editable This will create and put you into a virtualenv which has an editable
installation of pre-commit. Hack away! Running `pre-commit` will reflect installation of pre-commit. Hack away! Running `pre-commit` will reflect

View file

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

View file

@ -15,10 +15,6 @@ skip_install = true
deps = pre-commit deps = pre-commit
commands = pre-commit run --all-files --show-diff-on-failure commands = pre-commit run --all-files --show-diff-on-failure
[testenv:venv]
envdir = venv-pre_commit
commands =
[pep8] [pep8]
ignore = E265,E501,W504 ignore = E265,E501,W504