代码拉取完成,页面将自动刷新
[tox]
envlist = {py27,py36}-django{18,111}
[doc8]
max-line-length = 120
[pycodestyle]
exclude = .git,.tox,migrations
max-line-length = 120
[pytest]
DJANGO_SETTINGS_MODULE = test_settings
addopts = --cov splash --cov-report term-missing --cov-report xml
norecursedirs = .* docs requirements
[testenv]
deps =
django18: Django>=1.8,<1.9
django111: Django>=1.11,<2.0
-r{toxinidir}/requirements/test.txt
commands =
py.test {posargs}
[testenv:quality]
whitelist_externals =
make
rm
touch
deps =
-r{toxinidir}/requirements/quality.txt
-r{toxinidir}/requirements/test.txt
commands =
touch tests/__init__.py
pylint splash tests test_utils
pylint --py3k splash tests test_utils
rm tests/__init__.py
isort --check-only --recursive tests test_utils splash manage.py setup.py test_settings.py
make selfcheck
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。