Kaydet (Commit) d4b3939e authored tarafından Anthony Sottile's avatar Anthony Sottile

speed up azure jobs

Committed via https://github.com/asottile/all-repos
üst 98e865eb
......@@ -13,6 +13,7 @@ resources:
ref: refs/tags/v0.0.4
jobs:
- template: job--pre-commit.yml@asottile
- template: job--python-tox.yml@asottile
parameters:
toxenvs: [py27, py37]
......
[tox]
project = add-trailing-comma
# These should match the travis env list
envlist = py27,py35,py36,pypy
envlist = py27,py36,py37,pypy,pypy3,pre-commit
[testenv]
deps = -rrequirements-dev.txt
......@@ -9,12 +7,12 @@ commands =
coverage erase
coverage run -m pytest {posargs:tests}
coverage report --fail-under 100
pre-commit install -f --install-hooks
pre-commit run --all-files
pre-commit install
[testenv:venv]
envdir = venv-{[tox]project}
commands =
[testenv:pre-commit]
skip_install = true
deps = pre-commit
commands = pre-commit run --all-files --show-diff-on-failure
[pep8]
ignore = E265,E501,W504
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment