Skip to content

Commit

Permalink
[Lint] Use flake8 instead of pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeyeager authored and soumith committed Feb 28, 2017
1 parent 502ebed commit 7cbe255
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ matrix:
env: LINT_CHECK
python: "2.7"
addons: true
install: pip install pep8
script: pep8
install: pip install flake8
script: flake8
6 changes: 1 addition & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
[pep8]
max-line-length = 120
ignore = E402,E721,E731,W503
exclude = docs/src

[flake8]
max-line-length = 120
ignore = E305,E402,E721,E731,F401,F403,F405,F811,F812,F821,F841
exclude = venv,docs/src

0 comments on commit 7cbe255

Please sign in to comment.