Configure coverage's ignored files

This commit is contained in:
Siegmeyer of Catarina 2018-06-07 01:43:14 +02:00 committed by Iwo Herka
parent 96ce50c3b7
commit 00562c4d88
2 changed files with 5 additions and 1 deletions

4
.coveragerc Normal file
View file

@ -0,0 +1,4 @@
[run]
omit =
*/migrations/*
eav/__init__.py

View file

@ -5,7 +5,7 @@ import sys
from django.db.models import Q
def print_q_expr(expr, indent="", is_tail=True):
def print_q_expr(expr, indent="", is_tail=True): # pragma: no cover
'''
Simple print method for debugging Q-expressions' trees.
'''