1 Star 0 Fork 0

sync_github_repo/client_python

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
tox.ini 1.62 KB
一键复制 编辑 原始数据 按行查看 历史
Chris Marchbanks 提交于 2021-05-28 10:50 . Do not use attrs 21.1.0
[tox]
envlist = coverage-clean,py2.7,py3.4,py3.5,py3.6,py3.7,py3.8,py3.9,pypy2.7,pypy3.7,{py2.7,py3.9}-nooptionals,coverage-report,flake8,isort
[base]
deps =
coverage
pytest
; Python 3.4 fails if using 21.1.0.
attrs!=21.1.0
[testenv:py2.7]
deps =
{[base]deps}
futures
[testenv:pypy2.7]
deps =
{[base]deps}
futures
[testenv]
deps =
{[base]deps}
{py2.7,py3.7,pypy2.7,pypy3.7}: twisted
{py3.7,pypy3.7}: asgiref
commands = coverage run --parallel -m pytest {posargs}
; Ensure test suite passes if no optional dependencies are present.
[testenv:py2.7-nooptionals]
deps =
{[base]deps}
futures
commands = coverage run --parallel -m pytest {posargs}
[testenv:py3.9-nooptionals]
commands = coverage run --parallel -m pytest {posargs}
[testenv:coverage-clean]
deps = coverage
skip_install = true
commands = coverage erase
[testenv:coverage-report]
deps = coverage
skip_install = true
commands =
coverage combine
coverage report
[testenv:flake8]
deps =
flake8==3.7.8
flake8-docstrings==1.5.0
flake8-import-order==0.18.1
skip_install = true
commands =
flake8 prometheus_client/ tests/ setup.py
[testenv:isort]
deps =
isort==5.5.4
skip_install = true
commands =
isort --check prometheus_client/ tests/ setup.py
[flake8]
ignore =
D,
E303,
E402,
E501,
E722,
E741,
F821,
F841,
W291,
W293,
W503,
E129,
E731
import-order-style = google
application-import-names = prometheus_client
[isort]
force_alphabetical_sort_within_sections = True
force_sort_within_sections = True
include_trailing_comma = True
multi_line_output = 5
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/sync_repo/client_python.git
git@gitee.com:sync_repo/client_python.git
sync_repo
client_python
client_python
master

搜索帮助