Skip to content

Commit 2f47920

Browse files
authored
test: make project root importable for pytest (pythonpath=.)
1 parent 7e8b571 commit 2f47920

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ combine-as-imports = true
3535
"tooltips.py" = ["UP037", "UP045"] # quoted type hints / X|None suggestions
3636
"i18n.py" = ["UP006", "UP015", "UP045"]
3737

38+
[tool.pytest.ini_options]
39+
pythonpath = ["."]
40+
testpaths = ["tests"]
41+
3842
[tool.mypy]
3943
python_version = "3.9"
4044
ignore_missing_imports = true

0 commit comments

Comments
 (0)