Skip to content

Commit 58dea20

Browse files
committed
Address PR check failures.
1 parent b8c8990 commit 58dea20

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

google/auth/_oauth2client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def _convert_appengine_app_assertion_credentials(credentials):
127127
oauth2client.contrib.gce.AppAssertionCredentials: _convert_gce_app_assertion_credentials,
128128
}
129129

130-
if _HAS_APPENGINE:
130+
if _HAS_APPENGINE: # pragma: no cover
131131
_CLASS_CONVERSION_MAP[
132132
oauth2client.contrib.appengine.AppAssertionCredentials
133133
] = _convert_appengine_app_assertion_credentials

mypy.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[mypy]
2-
python_version = 3.7
2+
python_version = 3.9
33
namespace_packages = True

noxfile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ def mypy(session):
105105
"types-requests",
106106
"types-setuptools",
107107
"types-mock",
108+
"types-pytest",
108109
)
109110
session.run("mypy", "-p", "google", "-p", "tests", "-p", "tests_async")
110111

tests/test_agent_identity_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
import json
1818

1919
import mock
20-
import pytest
2120
from cryptography import x509
21+
import pytest
2222

2323
from google.auth import _agent_identity_utils
2424
from google.auth import environment_vars

0 commit comments

Comments
 (0)