Skip to content

Commit

Permalink
Use recommended pytest option to discover source
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Feb 2, 2024
1 parent f8bc985 commit 9cbb733
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,8 @@ target-version = "py38"
# E501 is line length (delegated to black)
# G* are TODOs
ignore = ["B008", "B9", "E402", "E501", "G001", "G002", "G004"]

[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
]

0 comments on commit 9cbb733

Please sign in to comment.