2023-03-29 11:57:33 +08:00
|
|
|
[run]
|
|
|
|
plugins =
|
|
|
|
coverage_conditional_plugin
|
|
|
|
|
2021-12-16 17:28:57 +08:00
|
|
|
[report]
|
|
|
|
exclude_lines =
|
2023-02-28 14:46:09 +08:00
|
|
|
pragma: no cover
|
2021-12-16 23:22:25 +08:00
|
|
|
def __repr__
|
2022-09-09 11:52:57 +08:00
|
|
|
def __str__
|
2023-02-28 14:46:09 +08:00
|
|
|
@(typing\.)?overload
|
|
|
|
if (typing\.)?TYPE_CHECKING( is True)?:
|
2021-12-16 17:28:57 +08:00
|
|
|
@(abc\.)?abstractmethod
|
|
|
|
raise NotImplementedError
|
2023-09-09 13:46:09 +08:00
|
|
|
warnings\.warn
|
2023-02-28 14:46:09 +08:00
|
|
|
\.\.\.
|
|
|
|
pass
|
2021-12-16 23:22:25 +08:00
|
|
|
if __name__ == .__main__.:
|
2023-03-29 11:57:33 +08:00
|
|
|
|
|
|
|
[coverage_conditional_plugin]
|
|
|
|
rules =
|
2023-03-29 19:00:25 +08:00
|
|
|
"sys_platform != 'win32'": py-win32
|
|
|
|
"sys_platform != 'linux'": py-linux
|
|
|
|
"sys_platform != 'darwin'": py-darwin
|
|
|
|
"sys_version_info < (3, 9)": py-gte-39
|
|
|
|
"sys_version_info < (3, 11)": py-gte-311
|
|
|
|
"sys_version_info >= (3, 11)": py-lt-311
|