79415891

Date: 2025-02-05 19:02:11
Score: 1
Natty:
Report link

coverage xml -i doesn't work for me.

I found out that the <tmpdir>/_remote_module_non_scriptable.py is generated by pytorch.

Solution: add to pyproject.toml

[tool.coverage.run]
omit = [
    # omit pytorch-generated files in /tmp
    "/tmp/*",
]
Reasons:
  • Whitelisted phrase (-2): Solution:
  • RegEx Blacklisted phrase (2): doesn't work for me
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Daniele Franceschi