Skip to content

Commit 87d1443

Browse files
Feature migrate to poetry (#307)
1 parent a59ae1c commit 87d1443

3 files changed

Lines changed: 21 additions & 18 deletions

File tree

.coveragerc

Lines changed: 0 additions & 17 deletions
This file was deleted.

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ repos:
33
rev: v0.12.3
44
hooks:
55
- id: ruff
6-
args: ["--exit-zero"]
6+
args: ["--exit-zero"]

pyproject.toml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,3 +141,23 @@ line-ending = "auto"
141141
"src/conductor/client/orkes/api/*.py" = ["ALL"]
142142
"tests/**/*.py" = ["B", "C4", "SIM"]
143143
"examples/**/*.py" = ["B", "C4", "SIM"]
144+
145+
[tool.coverage.run]
146+
source = ["src/conductor"]
147+
omit = [
148+
"tests/*",
149+
"examples/*",
150+
"*/__init__.py"
151+
]
152+
153+
[tool.coverage.report]
154+
exclude_lines = [
155+
"pragma: no cover",
156+
"def __repr__",
157+
"raise NotImplementedError",
158+
"if __name__ == .__main__.:",
159+
"pass",
160+
"raise ImportError",
161+
"except ImportError:",
162+
"if TYPE_CHECKING:"
163+
]

0 commit comments

Comments
 (0)