File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -206,23 +206,20 @@ testpaths = [
206206]
207207
208208[tool .coverage ]
209+ run.core = " sysmon" # default for 3.14+, available for 3.12+
210+ run.disable_warnings = [ " no-sysmon" ] # 3.11 and earlier
209211run.omit = [
210212 " checks/*.py" ,
211213 " Tests/benchmarks.py" ,
212214 " Tests/createfontdatachunk.py" ,
213215]
214216report.exclude_also = [
215217 " @abc.abstractmethod" ,
216- " ^\\ s*\\ .\\ .\\ .(\\ s*#.*)?$" ,
217218 # Empty bodies in protocols or abstract methods
218219 " ^\\ s*def [a-zA-Z0-9_]+\\ (.*\\ )(\\ s*->.*)?:\\ s*\\ .\\ .\\ .(\\ s*#.*)?$" ,
219220 # Don't complain about compatibility code for missing optional dependencies
220221 " except ImportError" ,
221222 " if __name__ == .__main__.:" ,
222- # Don't complain if non-runnable code isn't run
223- " if 0:" ,
224223 # Don't complain about debug code
225224 " if DEBUG:" ,
226- # Don't complain about code that generally isn't run
227- " if TYPE_CHECKING:" ,
228225]
You can’t perform that action at this time.
0 commit comments