Skip to content

Commit fb70e28

Browse files
fix: linting
1 parent 50b1336 commit fb70e28

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/mcp/server/auth/routes.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,7 @@ def build_metadata(
172172
op_tos_uri=None,
173173
introspection_endpoint=None,
174174
code_challenge_methods_supported=["S256"],
175-
client_id_metadata_document_supported=(
176-
client_registration_options.client_id_metadata_document_supported
177-
),
175+
client_id_metadata_document_supported=client_registration_options.client_id_metadata_document_supported,
178176
)
179177

180178
# Add registration endpoint if supported

tests/client/test_auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1352,7 +1352,7 @@ def test_build_metadata(
13521352
"revocation_endpoint": Is(revocation_endpoint),
13531353
"revocation_endpoint_auth_methods_supported": ["client_secret_post", "client_secret_basic"],
13541354
"code_challenge_methods_supported": ["S256"],
1355-
"client_id_metadata_document_supported": Is(bool)
1355+
"client_id_metadata_document_supported": Is(bool),
13561356
}
13571357
)
13581358

0 commit comments

Comments
 (0)