summaryrefslogtreecommitdiff
path: root/src/tox
diff options
context:
space:
mode:
authorKurt McKee <contactme@kurtmckee.org>2023-01-17 09:14:15 -0600
committerGitHub <noreply@github.com>2023-01-17 07:14:15 -0800
commitd53f0623ea88ed3dbd7f990131b2d716816e464a (patch)
tree3791a77f882de870b979e93c3545221b9b2bf078 /src/tox
parent2a87375617a228d655b31856c6a39d9957fb9484 (diff)
downloadtox-git-d53f0623ea88ed3dbd7f990131b2d716816e464a.tar.gz
Fix the type annotation for `color` param of `Spinner.finalize()` (#2879)
Closes https://github.com/tox-dev/tox/issues/2878
Diffstat (limited to 'src/tox')
-rw-r--r--src/tox/util/spinner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tox/util/spinner.py b/src/tox/util/spinner.py
index e816786b..f95b4bf6 100644
--- a/src/tox/util/spinner.py
+++ b/src/tox/util/spinner.py
@@ -138,7 +138,7 @@ class Spinner:
def skip(self, key: str) -> None:
self.finalize(key, f"SKIP {self.outcome.skip}", Fore.YELLOW)
- def finalize(self, key: str, status: str, color: int) -> None:
+ def finalize(self, key: str, status: str, color: str) -> None:
start_at = self._envs.pop(key, None)
if self.enabled:
self.clear()