Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9344664
tox.ini
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
924 B
Subscribers
None
tox.ini
View Options
[tox]
envlist
=
black,flake8,mypy,py3-{core,db,server}
[testenv]
extras
=
testing-core
core
:
logging
db
:
db, testing-db
server
:
http
deps
=
db
:
pifpaf
cover
:
pytest-cov
commands
=
db
:
pifpaf run postgresql --
\
pytest --doctest-modules
\
slow: --hypothesis-profile=slow
\
cover: --cov={envsitepackagesdir}/swh/core --cov-branch
\
core: {envsitepackagesdir}/swh/core/tests
\
db: {envsitepackagesdir}/swh/core/db/tests
\
server: {envsitepackagesdir}/swh/core/api/tests
\
{posargs}
[testenv:py3]
skip_install
=
true
deps
=
tox
commands
=
tox -e py3-core-db-server-slow-cover -- {posargs}
[testenv:black]
skip_install
=
true
deps
=
black
=
=19.10b0
commands
=
{envpython} -m black --check swh
[testenv:flake8]
skip_install
=
true
deps
=
flake8
commands
=
{envpython} -m flake8
[testenv:mypy]
extras
=
testing-core
logging
db
testing-db
http
deps
=
mypy
commands
=
mypy swh
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jul 4, 2:40 PM (3 d, 9 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3369476
Attached To
rDCORE Foundations and core functionalities
Event Timeline
Log In to Comment