From: Hendrik Jäger Date: Tue, 1 Aug 2023 19:28:08 +0000 (+0200) Subject: add recommended settings for pytest X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=0ff99eb77ea9e897d8705ba266550ac1dbd03c01;p=user%2Fhenk%2Fcode%2Fpython%2Flearn_python.git add recommended settings for pytest --- 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", +]