Skip to content

Commit

Permalink
Pylint corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
Tracy Boehrer committed Dec 21, 2023
1 parent 1e1a76f commit d427e30
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.

from datetime import datetime, timedelta
from urllib.parse import urlparse

import requests
from msrest.authentication import Authentication

Expand Down Expand Up @@ -64,7 +61,7 @@ def trust_service_url(service_url: str, expiration=None):
"""

@staticmethod
def is_trusted_service(service_url: str) -> bool:
def is_trusted_service(service_url: str) -> bool: # pylint: disable=unused-argument
"""
Obsolete: is_trusted_service is not a required part of the security model.
Checks if the service url is for a trusted host or not.
Expand All @@ -74,7 +71,7 @@ def is_trusted_service(service_url: str) -> bool:
return True

@staticmethod
def _is_trusted_url(host: str) -> bool:
def _is_trusted_url(host: str) -> bool: # pylint: disable=unused-argument
"""
Obsolete: _is_trusted_url is not a required part of the security model.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
from .emulator_validation import EmulatorValidation
from .enterprise_channel_validation import EnterpriseChannelValidation
from .channel_validation import ChannelValidation
from .microsoft_app_credentials import MicrosoftAppCredentials
from .credential_provider import CredentialProvider
from .claims_identity import ClaimsIdentity
from .government_constants import GovernmentConstants
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

from abc import ABC

import requests
from msal import ConfidentialClientApplication

from .app_credentials import AppCredentials
Expand Down

0 comments on commit d427e30

Please sign in to comment.