Age | Commit message (Collapse) | Author |
|
No longer needed since Python 2.6 support has been dropped.
|
|
Also cleaned up some nested attribute access.
|
|
Changing `%` style string formatters to `.format()`.
Leaving `logging` strings in old style for Python 2 compatibility.
Resolves: Issue #541
|
|
|
|
|
|
Fixed flake8 F841 errors: local variable is assigned to but never used.
|
|
* Use context manager for assertRaises, fixes #536.
* Update usage of unittest to unittest2.
* Remove unneeded `if __name__ == '__main__':` clauses in test files.
|
|
|
|
This is so we get 100% line coverage in our tests. Also
adding unittest.main() lines to the files missing it:
test__helpers.py
test__pycrypto_crypt.py
test_crypt.py
test_devshell.py
test_gce.py
test_keyring_storage.py
test_service_account.py
test_util.py
|
|
This is all errors except E402: module level import not at top of file.
This is because in most (all?) files the __author__ global comes
before imports begin.
Ref: http://stackoverflow.com/a/24859703/1068170
|
|
Simply ran
pep8ify -w oauth2client/
pep8ify -w tests/
|
|
ClientRedirectServer and ClientRedirect classes
|