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 @@ -145,6 +145,30 @@ warn_required_dynamic_aliases = true
145
145
in-place = true
146
146
remove-all-unused-imports = true
147
147
148
+ [tool .coverage .report ]
149
+ fail_under = 60
150
+ exclude_lines = [
151
+ " @overload" ,
152
+ " if TYPE_CHECKING:" ,
153
+ " pragma: no cover" ,
154
+ " def __repr__" ,
155
+ " raise AssertionError" ,
156
+ " raise NotImplementedError" ,
157
+ ' if __name__ == .__main__.:' ,
158
+ " if sys.version_info" ,
159
+ ' class .*\(.*(Error|Exception)\):' ,
160
+ ' ^ *\.\.\.$' ,
161
+ ]
162
+
163
+ [tool .coverage .run ]
164
+ branch = true
165
+ omit = [
166
+ " tests/data/*" ,
167
+ " tests/util/*" ,
168
+ " .*" ,
169
+ " venv/*" ,
170
+ ]
171
+
148
172
[tool .commitizen ]
149
173
name = " cz_conventional_commits"
150
174
tag_format = " v$version"
You can’t perform that action at this time.
0 commit comments