File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,19 +5,22 @@ matrix:
55 - python : 3.4
66 env :
77 - COVERAGE=false
8+ - TESTARGS=""
89 - python : 3.5
910 env :
1011 - COVERAGE=false
12+ - TESTARGS=""
1113 - python : 3.6
1214 env :
1315 - COVERAGE=true
16+ - TESTARGS="--mpl --pep8"
1417 - python : 3.7
1518 language : python
1619 sudo : required
1720 dist : xenial
1821 env :
1922 - COVERAGE=false
20- - ARGS =""
23+ - TESTARGS =""
2124
2225before_install :
2326 - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
@@ -29,17 +32,16 @@ before_install:
2932
3033
3134install :
32- - conda create --yes -n test python=$TRAVIS_PYTHON_VERSION scipy seaborn coverage docopt requests pyyaml pytest pytest-mpl pytest-cov --channel=conda-forge
35+ - conda create --yes -n test python=$TRAVIS_PYTHON_VERSION scipy seaborn coverage docopt requests pyyaml pytest pytest-mpl pytest-cov pytest-pep8 --channel=conda-forge
3336 - source activate test
3437 - pip install coveralls
3538 - pip install .
3639
3740script :
38- - coverage run --source paramnormal check_paramnormal.py --mpl -- verbose
41+ - coverage run --source paramnormal check_paramnormal.py --verbose $TESTARGS
3942
4043after_success :
4144 - if [ ${COVERAGE} = true ]; then
4245 coverage report -m;
4346 coveralls;
4447 fi
45-
Original file line number Diff line number Diff line change @@ -158,7 +158,6 @@ def setup(self):
158158 self .cargs = []
159159 self .ckwds = dict (alpha = 2 )
160160
161-
162161 def do_check (self , size ):
163162 pass
164163
Original file line number Diff line number Diff line change 11[metadata]
22description-file = readme.rst
3+
4+ [tool:pytest]
5+ pep8ignore =
6+ E501
7+ E131
8+ check_paramnormal.py ALL
9+ paramnormal/examples/* ALL
10+ paramnormal/tests/* E501 E241
11+ docs/* ALL
12+
13+ [pep8]
14+ max-line-length = 100
You can’t perform that action at this time.
0 commit comments