File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,16 +11,15 @@ branches:
1111 only :
1212 - master
1313
14- # command to install requirements
15- install :
16- - python setup.py -q develop
14+ before_install :
15+ - pip install -U pip setuptools wheel
1716 - pip install -r requirements-test.txt
17+ - flake8
18+ - isort --check-only --recursive .
1819
19- before_script :
20- - ./runflake8
21- - if [[ $TRAVIS_PYTHON_VERSION == 3* ]]; then ./runisort; fi
20+ install :
21+ - python setup.py -q develop
2222
23- # command to run tests, e.g. python setup.py test
2423script :
2524 - nosetests --with-coverage --cover-package=netjsonconfig
2625
Original file line number Diff line number Diff line change @@ -83,7 +83,8 @@ Before committing your work check that your changes are not breaking the style c
8383
8484.. code-block :: shell
8585
86- ./runflake8 && ./runisort
86+ flake8
87+ isort --check-only --recursive .
8788
8889 For more information, please see:
8990
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11[bdist_wheel]
22universal =1
3+
4+ [flake8]
5+ max-line-length =110
6+ max-complexity =9
7+ exclude =./docs/,
8+ ./build/,
9+ ./setup.py
10+
11+ [isort]
12+ skip =setup.py
You can’t perform that action at this time.
0 commit comments