Skip to content

Commit

Permalink
Merge pull request #15 from mamartel/master
Browse files Browse the repository at this point in the history
Ignore PEP8 "E731 do not assign a lambda expression, use a def".
  • Loading branch information
konomae committed Jan 26, 2016
2 parents 355beeb + b107add commit 100393a
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 @@ -8,7 +8,7 @@ install:
- "pip install coveralls"
- "if [[ $TEST_PEP8 == '1' ]]; then pip install pep8; fi"
script:
- "if [[ $TEST_PEP8 == '1' ]]; then pep8 --repeat --show-source --exclude=.venv,.tox,dist,docs,build,lastpass_python.egg-info,.git --ignore=E501 .; else nosetests --with-coverage --cover-package=lastpass; fi"
- "if [[ $TEST_PEP8 == '1' ]]; then pep8 --repeat --show-source --exclude=.venv,.tox,dist,docs,build,lastpass_python.egg-info,.git --ignore=E501,E731 .; else nosetests --with-coverage --cover-package=lastpass; fi"
after_success:
- "if [[ $TEST_PEP8 == '1' ]]; then echo 'No coverage report when running pep8' ; else coveralls ; fi"
matrix:
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ commands = pip install -r requirements.txt

[testenv:pep8]
deps = pep8
commands = pep8 --repeat --show-source --exclude=.venv,.tox,dist,docs,build,*.egg,.git --ignore=E501 .
commands = pep8 --repeat --show-source --exclude=.venv,.tox,dist,docs,build,*.egg,.git --ignore=E501,E731 .

0 comments on commit 100393a

Please sign in to comment.