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 8585
8686 - name : Show test results
8787 uses : mikepenz/action-junit-report@v5
88- if : success() || failure() # always run even if the previous step fails
88+ if : always()
8989 with :
9090 report_paths : reports/junit/*.xml
9191
Original file line number Diff line number Diff line change @@ -103,20 +103,23 @@ data_file = "reports/.coverage"
103103
104104[tool .coverage .report ]
105105precision = 2
106- exclude_lines = [
107- " pragma: no cover" ,
106+ exclude_also = [
108107 " def __repr__" ,
109- " if .*debug" ,
110108 " raise AssertionError" ,
111109 " raise NotImplementedError" ,
112- " if __name__ == .__main__.:" ,
113- " if TYPE_CHECKING:" ,
114- " if logger.isEnabledFor" ,
115- " if sys.version_info" ,
110+ " class .*\b Protocol:" ,
116111 " @(abc\\ .)?abstractmethod" ,
117112 " \\ .\\ .\\ ." ,
118113 " def downgrade\\ (\\ )" ,
119114]
115+ partial_also = [
116+ " if .*TYPE_CHECKING:" ,
117+ " if .*isEnabledFor.*:" ,
118+ " if .*debug.*:" ,
119+ " if .*sys.version_info.*:" ,
120+ " if __name__ == .__main__.:" ,
121+ " except .*ImportError" ,
122+ ]
120123
121124[tool .ruff ]
122125target-version = " py37"
You can’t perform that action at this time.
0 commit comments