From 784179bab6457cd603602d37865fc3ecf8a8181a Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Sun, 3 May 2020 12:24:28 +0200 Subject: [PATCH] Use interrogate to enforce test docstrings Signed-off-by: Hynek Schlawack --- tox.ini | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 9861fcb6..51e863c8 100644 --- a/tox.ini +++ b/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]