Apply swh-py-template 0.1.6
This commit is contained in:
parent
e4c707d807
commit
ac52cfed21
7 changed files with 16 additions and 9 deletions
10
tox.ini
10
tox.ini
|
@ -18,14 +18,14 @@ commands =
|
|||
--cov-branch \
|
||||
{envsitepackagesdir}/swh/lister \
|
||||
{posargs}
|
||||
# --rootdir and --import-mode are required to make tests that depends
|
||||
# on the test file to be a proper submodule of the swh namespace after
|
||||
# migration to PEP420 (implicit namespace).
|
||||
# --rootdir (with --import-mode from pytest.ini) are required to make tests
|
||||
# that depends on the test file to be a proper submodule of the swh namespace
|
||||
# after migration to PEP420 (implicit namespace).
|
||||
|
||||
[testenv:black]
|
||||
skip_install = true
|
||||
deps =
|
||||
black==22.10.0
|
||||
black==23.1.0
|
||||
commands =
|
||||
{envpython} -m black --check swh
|
||||
|
||||
|
@ -61,4 +61,4 @@ setenv =
|
|||
# turn warnings into errors
|
||||
SPHINXOPTS = -W
|
||||
commands =
|
||||
make -I {env_dir}/share/ -C docs
|
||||
make -I {env_dir}/share/swh-docs -C docs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue