Skip to content

Commit

Permalink
Fix type hint issue for Sized Iterable (Collection)
Browse files Browse the repository at this point in the history
  • Loading branch information
taoky committed Aug 14, 2024
1 parent 47a0a7a commit 05c5923
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gitkeeper
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import os
import pwd
import signal
import sys
from typing import TYPE_CHECKING, Any, Dict, Iterable, List, Optional, Sequence, Tuple
from typing import TYPE_CHECKING, Any, Dict, Iterable, Collection, List, Optional, Sequence, Tuple
from concurrent.futures import ThreadPoolExecutor


def make_table(data: Iterable[Iterable[Any]], headers: Sequence[str]) -> str:
def make_table(data: Iterable[Collection[Any]], headers: Sequence[str]) -> str:
"""
Alternative for tabulate.tabulate, to make gitkeeper free of deps.
"""
Expand Down

0 comments on commit 05c5923

Please sign in to comment.