hmc-cs-mdrissi commented on a change in pull request #15415:
URL: https://github.com/apache/beam/pull/15415#discussion_r708741873
##########
File path: sdks/python/.coveragerc
##########
@@ -16,4 +16,23 @@
#
[run]
-omit = target/*
\ No newline at end of file
+omit = target/*
+
+[report]
+exclude_lines =
+ # Have to re-enable the standard pragma
+ pragma: no cover
+ abc.abstractmethod
+
+ # Overload stubs should never be executed.
+ @overload
+
+ # Don't complain about missing debug-only code:
+ def __repr__
+ if self\.debug
Review comment:
Sure. The reason I did if self\.debug was to make .coveragerc consistent
with setup.cfg coverage option. For the infra pr I can make them both
self\.debug_logging_enabled
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]