mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-29 10:16:52 +00:00
python 3.6 reached end of life on 2021-12-23 Committed via https://github.com/asottile/all-repos
22 lines
485 B
INI
22 lines
485 B
INI
[tox]
|
|
envlist = py37,py38,pypy3,pre-commit
|
|
|
|
[testenv]
|
|
deps = -rrequirements-dev.txt
|
|
setenv =
|
|
GIT_AUTHOR_NAME = "test"
|
|
GIT_COMMITTER_NAME = "test"
|
|
GIT_AUTHOR_EMAIL = "test@example.com"
|
|
GIT_COMMITTER_EMAIL = "test@example.com"
|
|
commands =
|
|
coverage erase
|
|
coverage run -m pytest {posargs:tests}
|
|
coverage report
|
|
|
|
[testenv:pre-commit]
|
|
skip_install = true
|
|
deps = pre-commit
|
|
commands = pre-commit run --all-files --show-diff-on-failure
|
|
|
|
[pep8]
|
|
ignore=E265,E501,W504
|