Skip to content

Commit 1e32c2e

Browse files
committed
Chore: Adjust code coverage settings
1 parent c453973 commit 1e32c2e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

pyproject.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,11 @@ crate = "sqlalchemy_cratedb:CrateDialect"
126126
[tool.black]
127127
line-length = 100
128128

129+
[tool.coverage.paths]
130+
source = [
131+
"src/",
132+
]
133+
129134
[tool.coverage.run]
130135
branch = false
131136
omit = [
@@ -165,11 +170,18 @@ minversion = "2.0"
165170
log_level = "DEBUG"
166171
log_cli_level = "DEBUG"
167172
log_format = "%(asctime)-15s [%(name)-36s] %(levelname)-8s: %(message)s"
173+
pythonpath = [
174+
"src"
175+
]
168176
testpaths = [
169177
"examples",
170178
"sqlalchemy_cratedb",
171179
"tests",
172180
]
181+
python_files = [
182+
"test_*.py",
183+
"*_test.py",
184+
]
173185
xfail_strict = true
174186
markers = [
175187
]

0 commit comments

Comments
 (0)