File tree Expand file tree Collapse file tree 2 files changed +31
-1
lines changed Expand file tree Collapse file tree 2 files changed +31
-1
lines changed Original file line number Diff line number Diff line change
1
+ # .coveragerc to control coverage.py
2
+ [run]
3
+ source = pandas_datareader
4
+ branch = True
5
+ include = */pandas_datareader/*
6
+ omit =
7
+ */_version.py
8
+ */yahoo/*
9
+ */google/options.py
10
+ */google/quotes.py
11
+ */tests/google/test_options.py
12
+
13
+ [report]
14
+ # Regexes for lines to exclude from consideration
15
+ exclude_lines =
16
+ # Have to re-enable the standard pragma
17
+ pragma: no cover
18
+ # Don't complain if tests don't hit defensive assertion code:
19
+ raise NotImplementedError
20
+ raise ImmediateDeprecationError
21
+ # Ignore pass
22
+ pass
23
+ include = */pandas_datareader/*
24
+ omit =
25
+ */_version.py
26
+ */yahoo/*
27
+ */google/options.py
28
+ */google/quotes.py
29
+ */tests/google/test_options.py
30
+ ignore_errors = True
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ install:
71
71
72
72
script :
73
73
- export ENIGMA_API_KEY=$ENIGMA_API_KEY
74
- - pytest -s -r xX --cov=pandas_datareader --cov-report xml:/tmp/cov-datareader.xml --junitxml=/tmp/datareader.xml
74
+ - pytest -s -r xX --cov-config .coveragerc --cov =pandas_datareader --cov-report xml:/tmp/cov-datareader.xml --junitxml=/tmp/datareader.xml
75
75
- flake8 --version
76
76
- flake8 pandas_datareader
77
77
You can’t perform that action at this time.
0 commit comments