代码拉取完成,页面将自动刷新
[tox]
isolated_build = true
envlist =
lint
{py36}-{django22,django30,django31,djangomaster}
{py37}-{django22,django30,django31,djangomaster}
{py38}-{django30,django31,djangomaster}
{py39}-{django30,django31,djangomaster}
docs
[testenv]
setenv =
PYTHONWARNINGS=all
whitelist_externals =
make
poetry
commands =
poetry install -v
poetry run coverage run --parallel-mode --source bootstrap3 manage.py test -v1 --noinput
deps =
django22: Django==2.2.*
django30: Django==3.0.*
django31: Django==3.1.*
djangomaster: https://github.com/django/django/archive/master.tar.gz
[testenv:lint]
commands =
poetry install -v
poetry run make lint
[testenv:docs]
commands =
poetry install -v --no-dev --extras docs
poetry run make docs
[flake8]
# flake8 does not support pyproject.toml, so we use tox.ini
# E731 do not assign a lambda expression
# W503 line break before binary operator (black introduces these)
# E203 whitespace before ':'
ignore = E731,W503,E203
exclude = .git,.tox,__pycache__
max-line-length = 120
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。