File tree Expand file tree Collapse file tree 2 files changed +11
-8
lines changed
Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ jobs:
142142 - name : Combine Coverage Data
143143 run : |
144144 uv run coverage combine
145- uv run coverage xml -o reports/coverage.xml -i
145+ uv run coverage xml -o reports/coverage.xml
146146
147147 - name : Coverage comment
148148 id : coverage
Original file line number Diff line number Diff line change @@ -168,20 +168,23 @@ data_file = "reports/.coverage"
168168
169169[tool .coverage .report ]
170170precision = 2
171- exclude_lines = [
172- " pragma: no cover" ,
171+ exclude_also = [
173172 " def __repr__" ,
174- " if .*debug" ,
175173 " raise AssertionError" ,
176174 " raise NotImplementedError" ,
177- " if __name__ == .__main__.:" ,
178- " if TYPE_CHECKING:" ,
179- " if logger.isEnabledFor" ,
180- " if sys.version_info" ,
175+ " class .*\b Protocol:" ,
181176 " @(abc\\ .)?abstractmethod" ,
182177 " \\ .\\ .\\ ." ,
183178 " def downgrade\\ (\\ )" ,
184179]
180+ partial_also = [
181+ " if .*TYPE_CHECKING:" ,
182+ " if .*isEnabledFor.*:" ,
183+ " if .*debug.*:" ,
184+ " if .*sys.version_info.*:" ,
185+ " if __name__ == .__main__.:" ,
186+ " except .*ImportError" ,
187+ ]
185188
186189[tool .ruff ]
187190target-version = " py310"
You can’t perform that action at this time.
0 commit comments