Skip to content

Commit

Permalink
Bump dev dependencies (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
henribru authored Nov 18, 2023
1 parent 4c6fdf8 commit cd142ee
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
8 changes: 7 additions & 1 deletion googleapiclient-stubs/discovery.pyi
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import types
from email.generator import BytesGenerator
from typing import Any, Protocol, TypeVar, overload

Expand Down Expand Up @@ -520,7 +521,12 @@ class Resource:
schema,
) -> None: ...
def __enter__(self: T) -> T: ...
def __exit__(self, exc_type, exc, exc_tb) -> None: ...
def __exit__(
self,
exc_type: type[BaseException] | None,
exc: BaseException | None,
exc_tb: types.TracebackType | None,
) -> None: ...
def close(self) -> None: ...

class _RequestBuilder(Protocol):
Expand Down
4 changes: 1 addition & 3 deletions googleapiclient-stubs/discovery_cache/base.pyi
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import abc

from _typeshed import Incomplete

class Cache(metaclass=abc.ABCMeta):
__metaclass__: Incomplete
__metaclass__ = abc.ABCMeta
@abc.abstractmethod
def get(self, url): ...
@abc.abstractmethod
Expand Down
1 change: 1 addition & 0 deletions googleapiclient-stubs/mimeparse.pyi
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
__version__: str
__credits__: str

def parse_mime_type(mime_type): ...
Expand Down
1 change: 1 addition & 0 deletions googleapiclient-stubs/version.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__: str
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ google-api-python-client = ">=2.107.0"
typing-extensions = ">=3.10.0"

[tool.poetry.group.dev.dependencies]
mypy = "^1.0.1"
black = "^23.1.0"
mypy = {version = "^1.7.0", python = "^3.8"}
black = {version = "^23.11.0", python = "^3.8"}
isort = {version = "^5.12.0", python = "^3.8"}
stubdefaulter = "^0.1.0"

Expand Down

0 comments on commit cd142ee

Please sign in to comment.