From e6da6e65e869dbfa461f8c098770f06fb6a43b55 Mon Sep 17 00:00:00 2001 From: Hiranya Jayathilaka Date: Wed, 26 Aug 2020 15:51:14 -0700 Subject: [PATCH 1/2] chore: Temporarily disabling a lint rule --- firebase_admin/db.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/firebase_admin/db.py b/firebase_admin/db.py index d42370317..be2b9c917 100644 --- a/firebase_admin/db.py +++ b/firebase_admin/db.py @@ -979,7 +979,9 @@ def _extract_error_message(cls, response): return message - +# Temporarily disable the lint rule. For more information see: +# https://github.com/googleapis/google-auth-library-python/pull/561 +# pylint: disable=abstract-method class _EmulatorAdminCredentials(google.auth.credentials.Credentials): def __init__(self): google.auth.credentials.Credentials.__init__(self) From 8056dd156ac8c7c2aeeb207452bebdf99c8d0013 Mon Sep 17 00:00:00 2001 From: Hiranya Jayathilaka Date: Wed, 26 Aug 2020 15:57:48 -0700 Subject: [PATCH 2/2] chore: Fixing another similar lint error --- tests/testutils.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/testutils.py b/tests/testutils.py index d0663ead1..556155253 100644 --- a/tests/testutils.py +++ b/tests/testutils.py @@ -105,6 +105,9 @@ def __call__(self, *args, **kwargs): # pylint: disable=arguments-differ raise self.error +# Temporarily disable the lint rule. For more information see: +# https://github.com/googleapis/google-auth-library-python/pull/561 +# pylint: disable=abstract-method class MockGoogleCredential(credentials.Credentials): """A mock Google authentication credential.""" def refresh(self, request):