test: configure pytest pythonpath to resolve src module import errors
Browse files- pyproject.toml +6 -1
pyproject.toml
CHANGED
|
@@ -27,4 +27,9 @@ ban-relative-imports = "all"
|
|
| 27 |
[tool.vulture]
|
| 28 |
min_confidence = 80
|
| 29 |
paths = ["src/"]
|
| 30 |
-
ignore_names = ["test_*", "setUp", "tearDown"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
[tool.vulture]
|
| 28 |
min_confidence = 80
|
| 29 |
paths = ["src/"]
|
| 30 |
+
ignore_names = ["test_*", "setUp", "tearDown"]
|
| 31 |
+
|
| 32 |
+
[tool.pytest.ini_options]
|
| 33 |
+
pythonpath = [
|
| 34 |
+
"."
|
| 35 |
+
]
|