Skip to content

Commit

Permalink
Switch list to Iterable in type hints
Browse files Browse the repository at this point in the history
Signed-off-by: John Pennycook <john.pennycook@intel.com>
  • Loading branch information
Pennycook committed Aug 26, 2024
1 parent b6ae8f1 commit 55a62ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion codebasin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import os
import shlex
import warnings
from collections.abc import Iterable
from pathlib import Path

import pathspec
Expand Down Expand Up @@ -145,7 +146,7 @@ class CodeBase:
def __init__(
self,
*directories: str | os.PathLike[str],
exclude_patterns: list[str] = [],
exclude_patterns: Iterable[str] = [],
):
"""
Raises
Expand Down

0 comments on commit 55a62ce

Please sign in to comment.