This repository has been archived by the owner on Feb 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from asottile/all-repos_autofix_azure-pre-commit
speed up azure jobs
- Loading branch information
Showing
2 changed files
with
8 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
[tox] | ||
# 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 | ||
commands = | ||
coverage erase | ||
coverage run -m pytest {posargs:tests} | ||
coverage report --show-missing --fail-under 100 | ||
pre-commit install -f --install-hooks | ||
pre-commit run --all-files | ||
pre-commit install | ||
|
||
[testenv:pre-commit] | ||
skip_install = true | ||
deps = pre-commit | ||
commands = pre-commit run --all-files --show-diff-on-failure | ||
|
||
[pep8] | ||
ignore = E265,E501,W504 |