Skip to content

Commit

Permalink
Moved flake8 checks before isort in travis build
Browse files Browse the repository at this point in the history
  • Loading branch information
nemesifier committed Feb 15, 2016
1 parent c43628b commit aae3d11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ install:
- pip install -r requirements-test.txt

before_script:
- ./runisort
- ./runflake8
- ./runisort

# command to run tests, e.g. python setup.py test
script:
Expand Down
2 changes: 1 addition & 1 deletion runflake8
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ flake8 --max-line-length=110 \
./netjsonconfig/backends/openwrt/renderers.py || exit 1
flake8 --max-line-length=110 \
--max-complexity=10 \
--exclude=./docs/,./build/,./netjsonconfig/backends/openwrt/renderers.py || exit 1
--exclude=./docs/,./build/,./setup.py,./netjsonconfig/backends/openwrt/renderers.py || exit 1

0 comments on commit aae3d11

Please sign in to comment.