1 Star 0 Fork 0

liput/pre-commit-hooks

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
tox.ini 507 Bytes
一键复制 编辑 原始数据 按行查看 历史
[tox]
envlist = py36,py37,py38,pypy3,pre-commit
[testenv]
deps = -rrequirements-dev.txt
setenv =
GIT_AUTHOR_NAME = "test"
GIT_COMMITTER_NAME = "test"
GIT_AUTHOR_EMAIL = "[email protected]"
GIT_COMMITTER_EMAIL = "[email protected]"
commands =
coverage erase
coverage run -m pytest {posargs:tests}
coverage report --fail-under 100
[testenv:pre-commit]
skip_install = true
deps = pre-commit
commands = pre-commit run --all-files --show-diff-on-failure
[pep8]
ignore=E265,E501,W504
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/tangzk/pre-commit-hooks.git
[email protected]:tangzk/pre-commit-hooks.git
tangzk
pre-commit-hooks
pre-commit-hooks
master

搜索帮助