Skip to content

Commit

Permalink
Ignoring methods __repr__, __str__, __fields, __invariants, and @Abst…
Browse files Browse the repository at this point in the history
…ractMethod and raise NotImplementedError
  • Loading branch information
nbro committed Feb 14, 2017
1 parent 681a9fb commit 77d97b4
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# More config options:
# - http://coverage.readthedocs.io/en/latest/config.html
# - http://coverage.readthedocs.io/en/latest/excluding.html#excluding

[report]

omit =
*/python?.?/*
*/site-packages/tabulate/*
*__init__*
*/site-packages/*
*__init__*

exclude_lines =
@abstractmethod
raise NotImplementedError
def __repr__ # exclude __repr__ methods
def __str__ # exclude __repr__ methods
def __fields
def __invariants

0 comments on commit 77d97b4

Please sign in to comment.