mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-28 22:56:55 +08:00
Remove Send2Trash from pyright's exclude (#8944)
This commit is contained in:
@@ -68,7 +68,6 @@
|
||||
"stubs/PyYAML",
|
||||
"stubs/redis",
|
||||
"stubs/requests",
|
||||
"stubs/Send2Trash",
|
||||
"stubs/setuptools",
|
||||
"stubs/slumber",
|
||||
"stubs/SQLAlchemy",
|
||||
|
||||
@@ -1,2 +1,5 @@
|
||||
from typing import Any
|
||||
|
||||
class TrashPermissionError(PermissionError):
|
||||
def __init__(self, filename) -> None: ...
|
||||
# Typed the same as `filename` in `PermissionError`:
|
||||
def __init__(self, filename: Any) -> None: ...
|
||||
|
||||
@@ -1 +1,5 @@
|
||||
def preprocess_paths(paths): ...
|
||||
from _typeshed import StrOrBytesPath
|
||||
from typing import Any
|
||||
|
||||
# Should be consistent with `__init__.py`
|
||||
def preprocess_paths(paths: list[Any] | StrOrBytesPath) -> list[str | bytes]: ...
|
||||
|
||||
Reference in New Issue
Block a user