Skip to content

Instantly share code, notes, and snippets.

@diva-D
Created May 26, 2022 04:05
Show Gist options
  • Save diva-D/dd15bbb69b508da1583f829c1a105868 to your computer and use it in GitHub Desktop.
Save diva-D/dd15bbb69b508da1583f829c1a105868 to your computer and use it in GitHub Desktop.
https://coverage.readthedocs.io/en/6.4/config.html#config omit is for files/folders you want to not be included in report exclude lines are the ones that shouldn't be covered in report
[run]
omit = *tests*, *venv*, */usr/local/lib*, config.py
[report]
exclude_lines =
if __name__ == .__main__.:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment