Skip to content

Commit dfce7c1

Browse files
committed
Fix lint
1 parent bc7fcfc commit dfce7c1

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

firebase_admin/_auth_utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -331,10 +331,10 @@ def __init__(self, message, cause, http_response):
331331
class InvalidHostingLinkDomainError(exceptions.InvalidArgumentError):
332332
"""The provided hosting link domain is not configured in Firebase Hosting
333333
or is not owned by the current project."""
334-
334+
335335
default_message = ('The provided hosting link domain is not configured in Firebase '
336-
'Hosting or is not owned by the current project.')
337-
336+
'Hosting or is not owned by the current project')
337+
338338
def __init__(self, message, cause, http_response):
339339
exceptions.InvalidArgumentError.__init__(self, message, cause, http_response)
340340

firebase_admin/_user_mgt.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,10 @@ def __init__(self, url, handle_code_in_app=None, dynamic_link_domain=None, ios_b
494494
android_package_name=None, android_install_app=None, android_minimum_version=None,
495495
link_domain=None):
496496
if dynamic_link_domain is not None:
497-
warnings.warn('dynamic_link_domain is deprecated, use link_domain instead', DeprecationWarning)
497+
warnings.warn(
498+
'dynamic_link_domain is deprecated, use link_domain instead',
499+
DeprecationWarning
500+
)
498501
self.url = url
499502
self.handle_code_in_app = handle_code_in_app
500503
self.dynamic_link_domain = dynamic_link_domain

tests/test_user_mgt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1512,7 +1512,7 @@ def test_invalid_hosting_link(self, user_mgt_app, func):
15121512
func('[email protected]', MOCK_ACTION_CODE_SETTINGS, app=user_mgt_app)
15131513
assert isinstance(excinfo.value, exceptions.InvalidArgumentError)
15141514
assert str(excinfo.value) == ('The provided hosting link domain is not configured in '
1515-
'Firebase Hosting or is not owned by the current project. '
1515+
'Firebase Hosting or is not owned by the current project '
15161516
'(INVALID_HOSTING_LINK_DOMAIN). Because of this reason.')
15171517
assert excinfo.value.http_response is not None
15181518
assert excinfo.value.cause is not None

0 commit comments

Comments
 (0)