summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorAndrej Shadura <andrew@shadura.me>2022-03-05 10:54:25 +0100
committerAndrej Shadura <andrew@shadura.me>2022-03-05 11:05:48 +0100
commit6775b8434afeac1e72cdf19c87411d67c86c32b0 (patch)
treef3c1b60d0fa739a3a3ae968467578a35149a1f69 /setup.cfg
parentbd294e05f6517f4bb7bec1171a30477b76cfd577 (diff)
Run doctests with pytest
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg8
1 files changed, 8 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index 8dd51d3..d22ae24 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -27,6 +27,14 @@ packages = find:
setup_requires =
docutils >= 0.12
include_package_data = True
+tests_require = git-crecord[test]
+
+[options.extras_require]
+test =
+ pytest >= 6
+
+[tool:pytest]
+addopts = --doctest-modules
[options.entry_points]
console_scripts =