Skip to content

Commit ed89593

Browse files
committed
update pyright pytest and coverage settings for src-layout
1 parent a46afcb commit ed89593

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ exclude = [
7474
"bioimageio_cache",
7575
"tests/old_*",
7676
]
77-
include = ["bioimageio", "scripts", "tests"]
77+
include = ["src", "scripts", "tests"]
7878
pythonPlatform = "All"
7979
pythonVersion = "3.8"
8080
reportDuplicateImport = "error"
@@ -106,7 +106,7 @@ useLibraryCodeForTypes = true
106106

107107
[tool.pytest.ini_options]
108108
addopts = " --failed-first --doctest-modules"
109-
testpaths = ["bioimageio/spec", "tests"]
109+
testpaths = ["src", "tests"]
110110

111111
[tool.ruff]
112112
line-length = 88
@@ -119,7 +119,7 @@ exclude = [
119119

120120
[tool.coverage.report]
121121
omit = [
122-
"bioimageio/spec/pretty_validation_errors.py",
123-
"bioimageio/spec/partner_utils/imjoy/*.py",
122+
"src/bioimageio/spec/pretty_validation_errors.py",
123+
"src/bioimageio/spec/partner_utils/imjoy/*.py",
124124
]
125125
exclude_also = ["if TYPE_CHECKING:", "assert_never\\("]

0 commit comments

Comments
 (0)