Skip to content

Commit

Permalink
Improved runflake8 check
Browse files Browse the repository at this point in the history
  • Loading branch information
nemesifier committed Feb 15, 2016
1 parent ea242a5 commit cdbe5b3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions runflake8
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#!/bin/bash
set -e

flake8 --max-line-length=110 \
--max-complexity=10 \
--exclude=./docs/,./build/,./netjsonconfig/backends/openwrt/renderers.py
--max-complexity=22 \
./netjsonconfig/backends/openwrt/renderers.py || exit 1
flake8 --max-line-length=110 \
--max-complexity=22 \
./netjsonconfig/backends/openwrt/renderers.py
--max-complexity=10 \
--exclude=./docs/,./build/,./netjsonconfig/backends/openwrt/renderers.py || exit 1

0 comments on commit cdbe5b3

Please sign in to comment.