mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-19 04:11:26 +08:00
Enable flake8-pyi's Y037 (#9686)
This commit is contained in:
1 parent
c4c4bee8aa
commit
0ef9c3f8e8
38 files changed
+119
-201
No files matched your search
@@ -1,9 +1,9 @@
|
||||
from collections.abc import Callable, Mapping
|
||||
from typing import Any, Union
|
||||
from typing import Any
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
_FieldValue: TypeAlias = str | bytes
|
||||
_FieldValueTuple: TypeAlias = Union[_FieldValue, tuple[str, _FieldValue], tuple[str, _FieldValue, str]]
|
||||
_FieldValueTuple: TypeAlias = _FieldValue | tuple[str, _FieldValue] | tuple[str, _FieldValue, str]
|
||||
|
||||
def guess_content_type(filename: str | None, default: str = ...) -> str: ...
|
||||
def format_header_param_rfc2231(name: str, value: _FieldValue) -> str: ...
|
||||
|
||||
Reference in new issue
Block a user