Skip to content

Commit 9acaff9

Browse files
authored
chore: Temporarily disabling a lint rule (#485)
* chore: Temporarily disabling a lint rule * chore: Fixing another similar lint error
1 parent 7a3dcb7 commit 9acaff9

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

firebase_admin/db.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -979,7 +979,9 @@ def _extract_error_message(cls, response):
979979

980980
return message
981981

982-
982+
# Temporarily disable the lint rule. For more information see:
983+
# https://github.com/googleapis/google-auth-library-python/pull/561
984+
# pylint: disable=abstract-method
983985
class _EmulatorAdminCredentials(google.auth.credentials.Credentials):
984986
def __init__(self):
985987
google.auth.credentials.Credentials.__init__(self)

tests/testutils.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ def __call__(self, *args, **kwargs): # pylint: disable=arguments-differ
105105
raise self.error
106106

107107

108+
# Temporarily disable the lint rule. For more information see:
109+
# https://github.com/googleapis/google-auth-library-python/pull/561
110+
# pylint: disable=abstract-method
108111
class MockGoogleCredential(credentials.Credentials):
109112
"""A mock Google authentication credential."""
110113
def refresh(self, request):

0 commit comments

Comments
 (0)