Skip to content

Commit fa27951

Browse files
committed
feat(pyproject.toml): Add config for proper python package paths
1 parent b28d521 commit fa27951

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ fail_under = 100
4141
show_missing = true
4242
skip_covered = true
4343

44+
[tool.setuptools]
45+
include-package-data = true
46+
zip-safe = false
47+
48+
[tool.setuptools.packages]
49+
find = {}
50+
4451
[tool.ruff]
4552
line-length = 120
4653
preview = true
@@ -159,3 +166,9 @@ docstring-code-format = true
159166
[tool.ruff.lint.flake8-copyright]
160167
author = "SUSE LLC"
161168
notice-rgx = "Copyright"
169+
170+
[tool.pyright]
171+
include = ["src", "tests", "*.py"]
172+
173+
[tool.pytest.ini_options]
174+
pythonpath = "src"

0 commit comments

Comments
 (0)