2023-10-16 00:31:18 +02:00
|
|
|
[run]
|
|
|
|
source = aioesphomeapi
|
|
|
|
|
|
|
|
omit =
|
|
|
|
aioesphomeapi/api_options_pb2.py
|
|
|
|
aioesphomeapi/api_pb2.py
|
2023-11-11 20:06:27 +01:00
|
|
|
aioesphomeapi/log_reader.py
|
2023-11-26 18:04:17 +01:00
|
|
|
aioesphomeapi/discover.py
|
2023-11-09 16:31:13 +01:00
|
|
|
bench/*.py
|
2023-10-16 00:31:18 +02:00
|
|
|
|
2023-10-16 00:24:27 +02:00
|
|
|
[report]
|
|
|
|
# Regexes for lines to exclude from consideration
|
|
|
|
exclude_lines =
|
|
|
|
# Have to re-enable the standard pragma
|
|
|
|
pragma: no cover
|
|
|
|
|
|
|
|
# Don't complain about missing debug-only code:
|
|
|
|
def __repr__
|
|
|
|
|
|
|
|
# Don't complain if tests don't hit defensive assertion code:
|
|
|
|
raise AssertionError
|
|
|
|
raise NotImplementedError
|
|
|
|
raise exceptions.NotSupportedError
|
|
|
|
|
|
|
|
# TYPE_CHECKING and @overload blocks are never executed during pytest run
|
|
|
|
if TYPE_CHECKING:
|
|
|
|
@overload
|