From 7a7a5c9a4e46a5094638c4fe87e756e4e39e0a5e Mon Sep 17 00:00:00 2001 From: Almaz Ilaletdinov Date: Sun, 16 Oct 2022 01:17:10 +0300 Subject: [PATCH] fix --- .idea/.gitignore | 8 ++ .idea/boltons.iml | 17 ++++ .idea/inspectionProfiles/Project_Default.xml | 80 +++++++++++++++++++ .../inspectionProfiles/profiles_settings.xml | 6 ++ .idea/modules.xml | 8 ++ .idea/vcs.xml | 6 ++ boltons/dictutils.pyi | 29 +++++-- venv/pyvenv.cfg | 3 + 8 files changed, 149 insertions(+), 8 deletions(-) create mode 100644 .idea/.gitignore create mode 100644 .idea/boltons.iml create mode 100644 .idea/inspectionProfiles/Project_Default.xml create mode 100644 .idea/inspectionProfiles/profiles_settings.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml create mode 100644 venv/pyvenv.cfg diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 00000000..73f69e09 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml +# Editor-based HTTP Client requests +/httpRequests/ diff --git a/.idea/boltons.iml b/.idea/boltons.iml new file mode 100644 index 00000000..51951249 --- /dev/null +++ b/.idea/boltons.iml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 00000000..e28229d0 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,80 @@ + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 00000000..105ce2da --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 00000000..5555ed30 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 00000000..94a25f7f --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/boltons/dictutils.pyi b/boltons/dictutils.pyi index f3f61e49..cb0acfcb 100644 --- a/boltons/dictutils.pyi +++ b/boltons/dictutils.pyi @@ -16,9 +16,13 @@ class OrderedMultiDict(dict): def setdefault(self, k: Hashable, default: Any = ...) -> Any: ... def copy(self) -> OrderedMultiDict: ... @classmethod - def fromkeys(cls, keys: list[Any], default: Any | None = ...) -> OrderedMultiDict: ... + def fromkeys( + cls, keys: list[Any], default: Any | None = ... + ) -> OrderedMultiDict: ... def update(self, E: dict[Any, Any] | Iterable, **F: dict[str, Any]) -> None: ... - def update_extend(self, E: dict[Any, Any] | Iterable, **F: dict[str, Any]) -> None: ... + def update_extend( + self, E: dict[Any, Any] | Iterable, **F: dict[str, Any] + ) -> None: ... def __setitem__(self, k: Hashable, v: Any) -> None: ... def __getitem__(self, k: Hashable) -> Any: ... def __delitem__(self, k: Hashable) -> None: ... @@ -26,13 +30,17 @@ class OrderedMultiDict(dict): def __ne__(self, other: OrderedMultiDict) -> bool: ... def pop(self, k: Hashable, default: Any = ...) -> None: ... def popall(self, k: Hashable, default: Any = ...) -> None: ... - def poplast(self, k: Hashable = ..., default: Any =...) -> None: ... + def poplast(self, k: Hashable = ..., default: Any = ...) -> None: ... def iteritems(self, multi: bool = ...) -> Generator[Any, None, None]: ... def iterkeys(self, multi: bool = ...) -> Generator[Any, None, None]: ... def itervalues(self, multi: bool = ...) -> Generator[Any, None, None]: ... def todict(self, multi: bool = ...) -> dict[Hashable, Any]: ... - def sorted(self, key: Any | None = ..., reverse: bool = ...) -> OrderedMultiDict: ... - def sortedvalues(self, key: Any | None = ..., reverse: bool = ...) -> OrderedMultiDict: ... + def sorted( + self, key: Any | None = ..., reverse: bool = ... + ) -> OrderedMultiDict: ... + def sortedvalues( + self, key: Any | None = ..., reverse: bool = ... + ) -> OrderedMultiDict: ... def inverted(self) -> OrderedMultiDict: ... def counts(self) -> OrderedMultiDict: ... def keys(self, multi: bool = ...) -> list[Hashable]: ... @@ -43,6 +51,7 @@ class OrderedMultiDict(dict): def viewkeys(self) -> KeysView: ... def viewvalues(self) -> ValuesView: ... def viewitems(self) -> ItemsView: ... + OMD = OrderedMultiDict MultiDict = OrderedMultiDict @@ -63,12 +72,14 @@ class OneToOne(dict): def pop(self, key: Hashable, default: Any = ...) -> Hashable: ... def popitem(self) -> tuple[Hashable, Hashable]: ... def setdefault(self, key, default: Any = ...) -> Hashable: ... - def update(self, dict_or_iterable: dict | Iterable, **kw: dict[Hashable, Any]) -> None: ... + def update( + self, dict_or_iterable: dict | Iterable, **kw: dict[Hashable, Any] + ) -> None: ... class ManyToMany: data: dict[Hashable, Any] inv: ManyToMany - def __init__(self, items: tuple[Hashable] | dict[Hashable, Any] = ...) -> None: ... + def __init__(self, items: tuple[Hashable] | dict[Hashable, Any] = ...) -> None: ... def get(self, key: Hashable, default: Any = ...) -> Any: ... def __getitem__(self, key: Hashable) -> Any: ... def __setitem__(self, key: Hashable, vals: Iterable) -> None: ... @@ -84,7 +95,9 @@ class ManyToMany: def __len__(self) -> int: ... def __eq__(self, other) -> bool: ... -def subdict(d, keep: dict[Hashable, Any] | None = ..., drop: list[Hashable] | None = ...): ... +def subdict( + d, keep: dict[Hashable, Any] | None = ..., drop: list[Hashable] | None = ... +): ... class FrozenHashError(TypeError): ... diff --git a/venv/pyvenv.cfg b/venv/pyvenv.cfg new file mode 100644 index 00000000..cdeb33c6 --- /dev/null +++ b/venv/pyvenv.cfg @@ -0,0 +1,3 @@ +home = /Library/Frameworks/Python.framework/Versions/3.8/bin +include-system-site-packages = false +version = 3.8.5