From 0ff99eb77ea9e897d8705ba266550ac1dbd03c01 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Hendrik=20J=C3=A4ger?= Date: Tue, 1 Aug 2023 21:28:08 +0200 Subject: [PATCH] add recommended settings for pytest --- pyproject.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index de5bfd1..cedae45 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,3 +4,8 @@ name = "learn_python" [build-system] requires = ["hatchling"] build-backend = "hatchling.build" + +[tool.pytest.ini_options] +addopts = [ + "--import-mode=importlib", +] -- 2.39.2