From 6504ad86328db201a01ba858801304d4d51ee595 Mon Sep 17 00:00:00 2001 From: ebonnal Date: Fri, 3 Jan 2025 00:18:53 +0000 Subject: [PATCH] tbr --- .github/workflows/codecov.yml | 5 ++++- streamable/util/functiontools.py | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 7166c26..de2e7b7 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -22,9 +22,12 @@ jobs: run: | python -m pip install -r requirements-dev.txt python -m coverage run -m unittest + python -m coverage --version - name: Generate coverage report - run: python -m coverage report --fail-under=100 + run: | + python -m coverage --version + python -m coverage report --fail-under=100 - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v3 diff --git a/streamable/util/functiontools.py b/streamable/util/functiontools.py index fdabf04..2431b62 100644 --- a/streamable/util/functiontools.py +++ b/streamable/util/functiontools.py @@ -1,7 +1,7 @@ from typing import Any, Callable, Coroutine, Generic, Tuple, Type, TypeVar, overload -T = TypeVar("T") R = TypeVar("R") +T = TypeVar("T") class WrappedError(Exception):