Skip to content

Commit 9cbb733

Browse files
committed
Use recommended pytest option to discover source
1 parent f8bc985 commit 9cbb733

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,8 @@ target-version = "py38"
2626
# E501 is line length (delegated to black)
2727
# G* are TODOs
2828
ignore = ["B008", "B9", "E402", "E501", "G001", "G002", "G004"]
29+
30+
[tool.pytest.ini_options]
31+
addopts = [
32+
"--import-mode=importlib",
33+
]

0 commit comments

Comments
 (0)