From 9a4d44bce88e656c4bcdf3bfcbdf79165d17f755 Mon Sep 17 00:00:00 2001 From: henribru <6639509+henribru@users.noreply.github.com> Date: Sun, 19 Nov 2023 09:55:47 +0100 Subject: [PATCH] Add types-httplib2 dependency --- googleapiclient-stubs/errors.pyi | 2 +- pyproject.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/googleapiclient-stubs/errors.pyi b/googleapiclient-stubs/errors.pyi index ac1a2b4e..0acf78f6 100644 --- a/googleapiclient-stubs/errors.pyi +++ b/googleapiclient-stubs/errors.pyi @@ -26,7 +26,7 @@ class InvalidChunkSizeError(Error): ... class InvalidNotificationError(Error): ... class BatchError(HttpError): - resp: httplib2.Response | None + resp: httplib2.Response | None # type: ignore[assignment] content: str | None # type: ignore[assignment] reason: str def __init__( diff --git a/pyproject.toml b/pyproject.toml index 9335ba26..5303948d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,6 +24,7 @@ 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" +types-httplib2 = ">=0.22.0.2" [tool.isort] profile = "black"