chore: add D212 lint rule to enforce Google-style docstrings (#1892)
This commit is contained in:
parent
df039bf97c
commit
d41d0c0128
5 changed files with 452 additions and 925 deletions
|
|
@ -1,6 +1,4 @@
|
|||
"""
|
||||
Tests for the AuthContext middleware components.
|
||||
"""
|
||||
"""Tests for the AuthContext middleware components."""
|
||||
|
||||
import time
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
"""
|
||||
Tests for the BearerAuth middleware components.
|
||||
"""
|
||||
"""Tests for the BearerAuth middleware components."""
|
||||
|
||||
import time
|
||||
from typing import Any, cast
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
"""
|
||||
Tests for OAuth error handling in the auth handlers.
|
||||
"""
|
||||
"""Tests for OAuth error handling in the auth handlers."""
|
||||
|
||||
import base64
|
||||
import hashlib
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
"""
|
||||
Integration tests for MCP Oauth Protected Resource.
|
||||
"""
|
||||
"""Integration tests for MCP Oauth Protected Resource."""
|
||||
|
||||
from urllib.parse import urlparse
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
"""
|
||||
Tests for mcp.server.auth.provider module.
|
||||
"""
|
||||
"""Tests for mcp.server.auth.provider module."""
|
||||
|
||||
from mcp.server.auth.provider import construct_redirect_uri
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue