Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9344416
tox.ini
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
633 B
Subscribers
None
tox.ini
View Options
[tox]
envlist
=
flake8,mypy,py3-django{1,2}
[testenv]
extras
=
testing
deps
=
pytest-cov
django1
:
django>=1.11,<2
django2
:
django>=2,<3
commands
=
pytest \
slow
:
--hypothesis-profile=swh-web
\
!slow: --hypothesis-profile=swh-web-fast
\
--cov {envsitepackagesdir}/swh/web --cov-branch {posargs} {envsitepackagesdir}/swh/web
[testenv:flake8]
skip_install
=
true
deps
=
flake8
commands
=
{envpython} -m flake8 \
--exclude
=
.tox,.git,__pycache__,.eggs,*.egg,node_modules
[testenv:mypy]
setenv
=
DJANGO_SETTINGS_MODULE = swh.web.settings.development
extras
=
testing
deps
=
mypy
commands
=
mypy swh
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jul 4, 2:25 PM (2 d, 6 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3265166
Attached To
rDWAPPS Web applications
Event Timeline
Log In to Comment