From 48d3e8960ab3de66ee918eb3b5ca551966a22967 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Sun, 9 Aug 2020 19:54:31 +0200 Subject: [PATCH] Do not cover virtualenv and migrations --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 0fed74f7..63461320 100644 --- a/tox.ini +++ b/tox.ini @@ -19,7 +19,7 @@ deps = coverage commands = ./manage.py makemigrations - coverage run ./manage.py test {posargs} + coverage run --omit='*migrations*' --source=apps,note_kfet ./manage.py test coverage report -m [testenv:linters]