Skip to content
This repository has been archived by the owner on Jan 18, 2025. It is now read-only.

Commit

Permalink
Make tox -e flake8 pass. (#705)
Browse files Browse the repository at this point in the history
This library is in maintenance mode, but no reason to leave travis broken. Two
disables and a better `except` in a test and it's green again.
  • Loading branch information
craigcitro authored and Jon Wayne Parrott committed Mar 27, 2017
1 parent c055e7f commit a3cf56b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
try:
# Python2
from future_builtins import oct
except: # pragma: NO COVER
except ImportError: # pragma: NO COVER
pass

_filehandle, FILENAME = tempfile.mkstemp('oauth2client_test.data')
Expand Down
4 changes: 4 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,7 @@ putty-ignore =
# Ignore lines over 80 chars that include "http:" or "https:"
/http:/ : E501
/https:/ : E501
# E722 do not use bare except
# Existing sloppy usages.
oauth2client/crypt.py : E722
oauth2client/contrib/multiprocess_file_storage.py : E722

0 comments on commit a3cf56b

Please sign in to comment.