代码拉取完成,页面将自动刷新
# 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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。