Skip to content

Commit

Permalink
test: Use import mode 'importlib' for pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
luator committed Jul 24, 2024
1 parent 7e9dbd6 commit 398d660
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,9 @@ convention = "google"
"__init__.py" = ["F401"] # unused imports
"tests/*" = ["D", "ANN", "PLR2004"]
"scripts/*" = ["D"]


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

0 comments on commit 398d660

Please sign in to comment.