Skip to content

Commit

Permalink
Merge pull request #12 from minskpython/feature/coverage-report
Browse files Browse the repository at this point in the history
Add coverage lib and config for it
  • Loading branch information
gudens-trinn authored Oct 31, 2020
2 parents fc840e8 + cf61a86 commit e55b90a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[report]

exclude_lines =
if __name__ == .__main__.:
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
test:
PYTHONPATH=. coverage run -m unittest discover -s test
coverage report -m
flake8
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
flake8
coverage>=5.3,<5.4

0 comments on commit e55b90a

Please sign in to comment.