melodic-lighter-17242
12/24/2023, 10:33 AMbright-monitor-59146
12/24/2023, 8:36 PM[coverage-py]
report = ["raw", "html"]
[edit: not the root issue]
also it seems like you’re missing relative_files = true in your [run] section in .coveragerc. if you look in the docs, it calls out this being required in order for Pants to work. mine looks like this:
[run]
relative_files = true
branch = true
[report]
show_missing = true
exclude_also =
def __repr__
if self.debug:
if settings.DEBUG
raise AssertionError
raise NotImplementedError
if 0:
if __name__ == .__main__.:
if TYPE_CHECKING:
class .*\bProtocol\):
@(abc\.)?abstractmethodbright-monitor-59146
12/24/2023, 8:38 PMYou may use a Coverage config file, e.g.or.coveragerc. Pants will autodiscover the config file for you, and you can also setpyproject.tomlin your[coverage-py].configto point to a non-standard location. You must includepants.tomlin therelative_files = truesection for Pants to work.[run]
bright-monitor-59146
12/24/2023, 8:55 PMbright-monitor-59146
12/24/2023, 8:56 PMbright-monitor-59146
12/24/2023, 8:59 PMbright-monitor-59146
12/24/2023, 9:00 PMhtmlcov directory and inspect index.html i getbright-monitor-59146
12/24/2023, 9:00 PMmelodic-lighter-17242
12/25/2023, 7:25 AMmelodic-lighter-17242
12/25/2023, 7:26 AMbright-monitor-59146
12/25/2023, 8:57 AMmelodic-lighter-17242
12/25/2023, 10:37 AM