File tree Expand file tree Collapse file tree 2 files changed +15
-6
lines changed
Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -2,3 +2,11 @@ linters:
22 flake8 :
33 python : 3
44 max-line-length : 79
5+ select : C,E,F,W,B,B950
6+ ignore : E203, E501, W503
7+ black :
8+ config : ./pyproject.toml
9+ fixer : true
10+
11+ fixers :
12+ enable : true
Original file line number Diff line number Diff line change @@ -2,24 +2,25 @@ language: python
22
33matrix :
44 include :
5- - python : 3.5
65 - python : 3.6
6+ dist : xenial
7+ sudo : true
78 - python : 3.7
89 dist : xenial
910 sudo : true
1011
1112# command to install dependencies
12- # before_install:
13- # - sudo apt-get install coinor-cbc
13+ before_install :
14+ - sudo apt-get install libhdf5-serial-dev proj-bin libproj-dev libgeos-dev libspatialindex-dev
1415
1516install :
17+ - pip install cython
1618 - pip install .
17- - pip install coveralls sphinx sphinx_rtd_theme nbformat pytest-cov jupyter
19+ - pip install coveralls
1820
1921# command to run tests
2022script :
21- - coverage run --rcfile=.coveragerc --source windpowerlib -m py.test
22- - coverage report
23+ - nosetests --with-doctest --with-coverage -c nose.cfg
2324
2425after_success :
2526 - coveralls
You can’t perform that action at this time.
0 commit comments