Skip to content

Commit

Permalink
Add coveragerc
Browse files Browse the repository at this point in the history
  • Loading branch information
greenape committed Feb 18, 2020
1 parent fe14ac8 commit 11da10b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
--cov-report term --cov-report xml --durations=10
- store_test_results:
path: test_results
- run: bash <(curl -s https://codecov.io/bash) -F flowclient_unit_tests
- run: bash <(curl -s https://codecov.io/bash)

build_python_wheel:
docker: *base_docker
Expand Down
22 changes: 22 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[run]
branch = True

[report]

omit =
*/python?.?/*
*/venv/*
*/site-packages/nose/*
*/tests/*
*/_version.py
*/versioneer.py
*__init__*

exclude_lines =
# Need to explicitly re-enable the standard pragma
pragma: no cover

if __name__ == '__main__':
def __repr__

show_missing = True

0 comments on commit 11da10b

Please sign in to comment.