File tree Expand file tree Collapse file tree 2 files changed +24
-20
lines changed Expand file tree Collapse file tree 2 files changed +24
-20
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -141,6 +141,30 @@ warn_required_dynamic_aliases = true
141
141
in-place = true
142
142
remove-all-unused-imports = true
143
143
144
+ [tool .coverage .report ]
145
+ fail_under = 60
146
+ exclude_lines = [
147
+ " @overload" ,
148
+ " if TYPE_CHECKING:" ,
149
+ " pragma: no cover" ,
150
+ " def __repr__" ,
151
+ " raise AssertionError" ,
152
+ " raise NotImplementedError" ,
153
+ ' if __name__ == .__main__.:' ,
154
+ " if sys.version_info" ,
155
+ ' class .*\(.*(Error|Exception)\):' ,
156
+ ' ^ *\.\.\.$' ,
157
+ ]
158
+
159
+ [tool .coverage .run ]
160
+ branch = true
161
+ omit = [
162
+ " tests/data/*" ,
163
+ " tests/util/*" ,
164
+ " .*" ,
165
+ " venv/*" ,
166
+ ]
167
+
144
168
[tool .commitizen ]
145
169
name = " cz_conventional_commits"
146
170
tag_format = " v$version"
You can’t perform that action at this time.
0 commit comments