Skip to content

Commit

Permalink
--max-line-length=100 and remove second round of tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Aug 31, 2018
1 parent c8c0543 commit b87c49e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dev/lint-python
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,8 @@ else
fi

# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
flake8 . --count --select=E901,E999,F821,F822,F823 --max-line-length=100 --show-source --statistics
flake8_status="${PIPESTATUS[0]}"
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics

if [ "$flake8_status" -eq 0 ]; then
lint_status=0
Expand Down

0 comments on commit b87c49e

Please sign in to comment.