Changeset View
Changeset View
Standalone View
Standalone View
tox.ini
Show All 9 Lines | extras = | ||||
building | building | ||||
deps = | deps = | ||||
django < 3 | django < 3 | ||||
pifpaf | pifpaf | ||||
setenv = | setenv = | ||||
SWHPKGDIR = {envsitepackagesdir}/swh | SWHPKGDIR = {envsitepackagesdir}/swh | ||||
commands = | commands = | ||||
{envpython} -m pifpaf run postgresql -- make -C sysadm {posargs:html} | {envpython} -m pifpaf run postgresql -- make -C sysadm {posargs:html} | ||||
{envpython} -m pifpaf run postgresql -- make -C users {posargs:html} | {envpython} -m pifpaf run postgresql -- make -C user {posargs:html} | ||||
{envpython} -m pifpaf run postgresql -- make -C docs {posargs:html} | {envpython} -m pifpaf run postgresql -- make -C docs {posargs:html} | ||||
[testenv:sphinx-dev] | [testenv:sphinx-dev] | ||||
whitelist_externals = make | whitelist_externals = make | ||||
# workaround really long dependencies installation due to the | # workaround really long dependencies installation due to the | ||||
# new pip resolver and its backtracking processes | # new pip resolver and its backtracking processes | ||||
install_command = make pip-install-swh-dev {packages} | install_command = make pip-install-swh-dev {packages} | ||||
setenv = | setenv = | ||||
SWHPKGDIR = {envsitepackagesdir}/swh | SWHPKGDIR = {envsitepackagesdir}/swh | ||||
commands = | commands = | ||||
{envpython} -m pifpaf run postgresql -- make -C sysadm {posargs:html} | {envpython} -m pifpaf run postgresql -- make -C sysadm {posargs:html} | ||||
{envpython} -m pifpaf run postgresql -- make -C users {posargs:html} | {envpython} -m pifpaf run postgresql -- make -C user {posargs:html} | ||||
{envpython} -m pifpaf run postgresql -- make -C docs {posargs:html} | {envpython} -m pifpaf run postgresql -- make -C docs {posargs:html} | ||||
[testenv:black] | [testenv:black] | ||||
skip_install = true | skip_install = true | ||||
deps = | deps = | ||||
black==19.10b0 | black==19.10b0 | ||||
commands = | commands = | ||||
{envpython} -m black --check swh | {envpython} -m black --check swh | ||||
[testenv:flake8] | [testenv:flake8] | ||||
skip_install = true | skip_install = true | ||||
deps = | deps = | ||||
flake8 | flake8 | ||||
commands = | commands = | ||||
{envpython} -m flake8 | {envpython} -m flake8 |