4 Star 11 Fork 5

Gitee 极速下载/PySnooper

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/cool-RR/PySnooper
克隆/下载
tox.ini 1.19 KB
一键复制 编辑 原始数据 按行查看 历史
Lumir Balhar 提交于 2021-05-18 14:54 . Improve tests/CI configuration
# tox (https://tox.readthedocs.io/) is a tool for running tests
# Run tests in multiple virtualenvs.
[tox]
envlist =
flake8
pylint
bandit
py{27,34,35,36,37,38,39,310,py,py3}
readme
requirements
clean
[testenv]
description = Unit tests
deps =
pytest
py34: typing
commands = pytest {posargs}
[testenv:bandit]
description = PyCQA security linter
deps = bandit
commands = bandit -r --ini tox.ini
[testenv:clean]
description = Clean up bytecode
deps = pyclean
commands = py3clean -v {toxinidir}
[testenv:flake8]
description = Static code analysis and code style
deps = flake8
commands = flake8
[testenv:pylint]
description = Check for errors and code smells
deps = pylint
commands = pylint pysnooper setup
[testenv:readme]
description = Ensure README renders on PyPI
deps = twine
commands =
{envpython} setup.py -q sdist bdist_wheel
twine check dist/*
[testenv:requirements]
description = Update requirements.txt
deps = pip-tools
commands = pip-compile --output-file requirements.txt requirements.in
changedir = {toxinidir}
[bandit]
exclude = .tox,build,dist,tests
targets = .
[flake8]
exclude = .tox,build,dist,pysnooper.egg-info
[pytest]
addopts = --strict-markers
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/mirrors/PySnooper.git
git@gitee.com:mirrors/PySnooper.git
mirrors
PySnooper
PySnooper
master

搜索帮助