[Docs] Fix warnings in mkdocs build (continued) (#24791)
Signed-off-by: Zerohertz <ohg3417@gmail.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
|
||||
|
||||
import fnmatch
|
||||
from typing import Optional
|
||||
from typing import Any, Optional
|
||||
|
||||
from vllm.utils import PlaceholderModule
|
||||
|
||||
@@ -26,7 +26,7 @@ def _filter_ignore(paths: list[str], patterns: list[str]) -> list[str]:
|
||||
]
|
||||
|
||||
|
||||
def glob(s3=None,
|
||||
def glob(s3: Optional[Any] = None,
|
||||
path: str = "",
|
||||
allow_pattern: Optional[list[str]] = None) -> list[str]:
|
||||
"""
|
||||
@@ -51,7 +51,7 @@ def glob(s3=None,
|
||||
|
||||
|
||||
def list_files(
|
||||
s3,
|
||||
s3: Any,
|
||||
path: str,
|
||||
allow_pattern: Optional[list[str]] = None,
|
||||
ignore_pattern: Optional[list[str]] = None
|
||||
|
||||
Reference in New Issue
Block a user