diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 87be943..9861a75 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,7 +35,7 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 - name: sign - uses: sigstore/gh-action-sigstore-python@v2.1.1 + uses: sigstore/gh-action-sigstore-python@v3.0.0 with: inputs: ./dist/*.tar.gz ./dist/*.whl release-signing-artifacts: true diff --git a/cachecontrol/adapter.py b/cachecontrol/adapter.py index d2e65ff..e739a48 100644 --- a/cachecontrol/adapter.py +++ b/cachecontrol/adapter.py @@ -77,7 +77,7 @@ def send( return resp - def build_response( + def build_response( # type: ignore[override] self, request: PreparedRequest, response: HTTPResponse, @@ -143,7 +143,7 @@ def _update_chunk_length(self: HTTPResponse) -> None: _update_chunk_length, response ) - resp: Response = super().build_response(request, response) # type: ignore[no-untyped-call] + resp: Response = super().build_response(request, response) # See if we should invalidate the cache. if request.method in self.invalidating_methods and resp.ok: