From 372f6687b500b4fc14d707c25c049cc632d2f0ef Mon Sep 17 00:00:00 2001
From: Lukas Kluft <lukas.kluft@gmail.com>
Date: Tue, 16 Aug 2022 15:51:15 +0200
Subject: [PATCH] Enable doctests by default

---
 .gitlab-ci.yml | 2 +-
 setup.cfg      | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9c4a435..5b0b56d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,7 +5,7 @@ pytest:
   before_script:
     - python3 -m pip install -r requirements.txt
   script:
-    - pytest --doctest-modules --junitxml=report.xml
+    - pytest --junitxml=report.xml
   artifacts:
     when: always
     reports:
diff --git a/setup.cfg b/setup.cfg
index bbe8ff5..c4a92a3 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -14,3 +14,6 @@ install_requires =
 [flake8]
 max-line-length = 88
 extend-ignore = E203
+
+[tool:pytest]
+addopts = --doctest-modules
-- 
GitLab