Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9124108
tox.ini
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
674 B
Subscribers
None
tox.ini
View Options
[tox]
envlist
=
black,flake8,mypy,py3
[testenv]
extras
=
testing
deps
=
pytest-cov
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
[testenv:black]
skip_install
=
true
deps
=
black
commands
=
{envpython} -m black --check swh
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jun 21, 6:41 PM (1 w, 6 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3265149
Attached To
rDWAPPS Web applications
Event Timeline
Log In to Comment