From eb1c41cf0b038f8df1309e1b6d3e116197c72e0d Mon Sep 17 00:00:00 2001 From: Alexander Gaynor Date: Mon, 28 Jul 2014 22:26:51 -0700 Subject: Move coverage configuration to the config file --- .coveragerc | 3 +++ tox.ini | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.coveragerc b/.coveragerc index 03fc621e..58a1992d 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,5 +1,8 @@ [run] branch = True +source = + cryptography/ + tests/ [report] exclude_lines = diff --git a/tox.ini b/tox.ini index ef5e46d7..98cd8a68 100644 --- a/tox.ini +++ b/tox.ini @@ -11,7 +11,7 @@ deps = pytest ./vectors commands = - coverage run --source=cryptography/,tests/ -m pytest --capture=no --strict {posargs} + coverage run -m pytest --capture=no --strict {posargs} coverage report -m [testenv:docs] -- cgit v1.2.3