Skip to content

Commit d5a1263

Browse files
committed
Don't calculate coverage for startup scripts
1 parent b439b49 commit d5a1263

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ omit = [
8686
"src/common/config.py",
8787
"src/common/logs/*",
8888
"src/dramatiq_worker/__init__.py",
89+
"src/**/__main__.py",
90+
"src/**/dev_server.py",
8991
]
9092
# It's not necessary to configure concurrency here
9193
# because pytest-cov takes care of that

0 commit comments

Comments
 (0)