Use interrogate to enforce test docstrings
Signed-off-by: Hynek Schlawack <hs@ox.cx>
This commit is contained in:
parent
be71c30792
commit
784179bab6
8
tox.ini
8
tox.ini
|
@ -71,9 +71,13 @@ commands =
|
|||
[testenv:lint]
|
||||
basepython = python3.8
|
||||
skip_install = true
|
||||
deps = pre-commit
|
||||
deps =
|
||||
pre-commit
|
||||
interrogate
|
||||
passenv = HOMEPATH # needed on Windows
|
||||
commands = pre-commit run --all-files
|
||||
commands =
|
||||
pre-commit run --all-files
|
||||
interrogate -vv --fail-under 100 --whitelist-regex "test_.*" tests
|
||||
|
||||
|
||||
[testenv:docs]
|
||||
|
|
Loading…
Reference in New Issue