Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

strict sphinx confidentialledger #36008

Merged
merged 2 commits into from
Jun 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from ._serialization import Deserializer, Serializer


def _format_url_section(template, **kwargs):
def _format_url_section(template, **kwargs): # pylint: disable=inconsistent-return-statements
components = template.split("/")
while components:
try:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ def __init__( # pylint: disable=missing-client-constructor-parameter-credential
) -> None:
"""
:param certificate_endpoint: The Identity Service URL, for example
https://identity.confidential-ledger.core.azure.com, defaults to None. If not provided,
"https://identity.confidential-ledger.core.azure.com" will be used.
https://identity.confidential-ledger.core.azure.com, defaults to None. If not provided,
"https://identity.confidential-ledger.core.azure.com" will be used.
:type certificate_endpoint: Optional[str], optional
:keyword api_version: Api Version. Default value is "2022-05-13". Note that overriding this
default value may result in unsupported behavior.
default value may result in unsupported behavior.
:paramtype api_version: str
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from ._serialization import Deserializer, Serializer


def _format_url_section(template, **kwargs):
def _format_url_section(template, **kwargs): # pylint: disable=inconsistent-return-statements
components = template.split("/")
while components:
try:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ def __init__( # pylint: disable=missing-client-constructor-parameter-credential
) -> None:
"""
:param certificate_endpoint: The Identity Service URL, for example
https://identity.confidential-ledger.core.azure.com, defaults to None. If not provided,
"https://identity.confidential-ledger.core.azure.com" will be used.
https://identity.confidential-ledger.core.azure.com, defaults to None. If not provided,
"https://identity.confidential-ledger.core.azure.com" will be used.
:type certificate_endpoint: Optional[str], optional
:keyword api_version: Api Version. Default value is "2022-05-13". Note that overriding this
default value may result in unsupported behavior.
default value may result in unsupported behavior.
:paramtype api_version: str
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
pyright = false
type_check_samples = false
verifytypes = false
strict_sphinx = true