Browse code

Update tox.ini

Joseph Weston authored on 10/11/2019 09:38:29
Showing 1 changed files
... ...
@@ -8,8 +8,13 @@ python =
8 8
   3.7: clean,py37,report
9 9
 
10 10
 [pytest]
11
-addopts = --black --mypy --flake8 --cov --cov-append
12
-testpaths = qsim tests
11
+addopts =
12
+  --cov --cov-append --cov-report=
13
+  --black
14
+  --mypy
15
+  --flake8
16
+norecursedirs =
17
+  docs
13 18
 
14 19
 [coverage:paths]
15 20
 source =
... ...
@@ -19,8 +24,8 @@ source =
19 24
 [coverage:run]
20 25
 branch = true
21 26
 parallel = true
22
-include =
23
-  .tox/py*/lib/python*/site-packages/qsim/*
27
+omit = tests/*
28
+include = qsim/*
24 29
 
25 30
 [coverage:report]
26 31
 show_missing = true
... ...
@@ -61,7 +66,7 @@ ignore =
61 66
   E501,
62 67
   W503,
63 68
 per-file-ignores =
64
-  qsim/__init__.py: F401
69
+  __init__.py: F401
65 70
 -max-complexity = 18
66 71
 select = B, C, E, F, W, T4, B9
67 72
 exclude =