Use interrogate to enforce test docstrings

Signed-off-by: Hynek Schlawack <hs@ox.cx>
This commit is contained in:
Hynek Schlawack 2020-05-03 12:24:28 +02:00
parent be71c30792
commit 784179bab6
No known key found for this signature in database
GPG Key ID: AE2536227F69F181
1 changed files with 6 additions and 2 deletions

View File

@ -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]