Skip to content

Commit 96015f6

Browse files
committed
Add --git-only option
1 parent abe0f89 commit 96015f6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

codespell_lib/tests/test_basic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from io import StringIO
99
from pathlib import Path
1010
from shutil import copyfile
11-
from typing import Any, Generator, Optional, Tuple, Union
11+
from typing import Any, Generator, List, Optional, Tuple, Union
1212
from unittest import mock
1313

1414
import pytest
@@ -520,7 +520,7 @@ def test_exclude_file(
520520
assert cs.main("-x", f"{fname_dummy1},{fname},{fname_dummy2}", bad_name) == 1
521521

522522

523-
def run_git(path: Path, *args: str[]) -> None:
523+
def run_git(path: Path, *args: List[str]) -> None:
524524
subprocess.run( # noqa: S603
525525
["git", "-C", path, *list(args)], # noqa: S607
526526
capture_output=False,

0 commit comments

Comments
 (0)