File tree Expand file tree Collapse file tree 2 files changed +21
-2
lines changed
Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ matrix:
1515 env : DJANGO='django>=1.4,<1.5'
1616install :
1717 - pip install $DJANGO pep8 --use-mirrors
18- - pip install coveralls --use-mirrors
18+ - pip install python- coveralls --use-mirrors
1919script :
2020 - make coverage pep8
2121after_success :
22- - coveralls
22+ - coveralls --c coverage.rc
Original file line number Diff line number Diff line change @@ -10,3 +10,22 @@ omit =
1010 djangojs/management/*
1111 djangojs/tests/*
1212
13+ [report]
14+ # Regexes for lines to exclude from consideration
15+ exclude_lines =
16+ # Have to re-enable the standard pragma
17+ pragma: no cover
18+
19+ # Don't complain about missing debug-only code:
20+ def __repr__
21+ if self\.debug
22+
23+ # Don't complain if tests don't hit defensive assertion code:
24+ raise AssertionError
25+ raise NotImplementedError
26+
27+ # Don't complain if non-runnable code isn't run:
28+ if 0:
29+ if __name__ == .__main__.:
30+
31+ ignore_errors = True
You can’t perform that action at this time.
0 commit comments