Skip to content

Commit 71c434f

Browse files
author
Bryan Sieber
committed
Minor updates to helper scripts
1 parent 93f3fc3 commit 71c434f

File tree

3 files changed

+27
-3
lines changed

3 files changed

+27
-3
lines changed

docker-compose.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,3 @@ services:
1414
# Let the init system handle signals for us.
1515
# among other things this helps shutdown be fast
1616
init: true
17-
# env_file:
18-
# - ./infra/config/local_dev.env
19-
# - .env

infra/test.sh

100644100755
File mode changed.

pyproject.toml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,30 @@ force_grid_wrap = 0
8080
use_parentheses = true
8181
ensure_newline_before_comments = true
8282
line_length = 88
83+
84+
85+
[tool.coverage]
86+
# https://github.com/nedbat/coveragepy
87+
[tool.coverage.run]
88+
omit = [
89+
'*/.local/*',
90+
'/usr/*',
91+
'*/.venv/*',
92+
'*/.tox/*',
93+
'*/virtualenvs/*',
94+
]
95+
96+
[tool.coverage.report]
97+
98+
exclude_lines = [
99+
"# noqa",
100+
"raise NotImplementedError",
101+
"pragma: no cover",
102+
"def __repr__",
103+
"if .debug:",
104+
"raise NotImplementedError",
105+
"if __name__ == .__main__.:",
106+
"logger.",
107+
"from",
108+
"import"
109+
]

0 commit comments

Comments
 (0)