]> git.netwichtig.de Git - user/henk/code/python/learn_python.git/commitdiff
add recommended settings for pytest main
authorHendrik Jäger <gitcommit@henk.geekmail.org>
Tue, 1 Aug 2023 19:28:08 +0000 (21:28 +0200)
committerHendrik Jäger <gitcommit@henk.geekmail.org>
Tue, 1 Aug 2023 19:28:08 +0000 (21:28 +0200)
pyproject.toml

index de5bfd10b718c00c7ac8ac1aa0a295184be857e6..cedae45f2bdc6f123d76581fd6053924a779b735 100644 (file)
@@ -4,3 +4,8 @@ name = "learn_python"
 [build-system]
 requires = ["hatchling"]
 build-backend = "hatchling.build"
+
+[tool.pytest.ini_options]
+addopts = [
+    "--import-mode=importlib",
+]