Skip to content

Commit cd142ee

Browse files
authored
Bump dev dependencies (#47)
1 parent 4c6fdf8 commit cd142ee

File tree

5 files changed

+12
-6
lines changed

5 files changed

+12
-6
lines changed

googleapiclient-stubs/discovery.pyi

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import types
12
from email.generator import BytesGenerator
23
from typing import Any, Protocol, TypeVar, overload
34

@@ -520,7 +521,12 @@ class Resource:
520521
schema,
521522
) -> None: ...
522523
def __enter__(self: T) -> T: ...
523-
def __exit__(self, exc_type, exc, exc_tb) -> None: ...
524+
def __exit__(
525+
self,
526+
exc_type: type[BaseException] | None,
527+
exc: BaseException | None,
528+
exc_tb: types.TracebackType | None,
529+
) -> None: ...
524530
def close(self) -> None: ...
525531

526532
class _RequestBuilder(Protocol):

googleapiclient-stubs/discovery_cache/base.pyi

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
import abc
22

3-
from _typeshed import Incomplete
4-
53
class Cache(metaclass=abc.ABCMeta):
6-
__metaclass__: Incomplete
4+
__metaclass__ = abc.ABCMeta
75
@abc.abstractmethod
86
def get(self, url): ...
97
@abc.abstractmethod

googleapiclient-stubs/mimeparse.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
__version__: str
12
__credits__: str
23

34
def parse_mime_type(mime_type): ...

googleapiclient-stubs/version.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__: str

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ google-api-python-client = ">=2.107.0"
2020
typing-extensions = ">=3.10.0"
2121

2222
[tool.poetry.group.dev.dependencies]
23-
mypy = "^1.0.1"
24-
black = "^23.1.0"
23+
mypy = {version = "^1.7.0", python = "^3.8"}
24+
black = {version = "^23.11.0", python = "^3.8"}
2525
isort = {version = "^5.12.0", python = "^3.8"}
2626
stubdefaulter = "^0.1.0"
2727

0 commit comments

Comments
 (0)