From ce471ca17c21d2250318538f3d5b237af481dc9e Mon Sep 17 00:00:00 2001 From: ThiefMaster Date: Sun, 8 Mar 2015 13:40:16 +0100 Subject: [PATCH] Configure pytest's norecursedirs This skips directories which don't contain unittests and also virtualenvs (in folders named env*, which is already in gitignore) as we don't want to execute any tests in there --- setup.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.cfg b/setup.cfg index dbd1f97a..69feced4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,3 +3,6 @@ release = egg_info -RDb '' [wheel] universal = 1 + +[pytest] +norecursedirs = .* *.egg *.egg-info env* artwork docs