Skip to content

Commit 562e7da

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5517c86 commit 562e7da

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

babelizer/_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def get_setup_py_version() -> str | None:
7272

7373

7474
@contextmanager
75-
def save_files(files: Iterable[str]) -> Generator[dict[str, str], None, None]:
75+
def save_files(files: Iterable[str]) -> Generator[dict[str, str]]:
7676
"""Generate repository files through a context.
7777
7878
Parameters
@@ -96,7 +96,7 @@ def save_files(files: Iterable[str]) -> Generator[dict[str, str], None, None]:
9696

9797

9898
@contextmanager
99-
def as_cwd(path: str) -> Generator[None, None, None]:
99+
def as_cwd(path: str) -> Generator[None]:
100100
"""Change directory context.
101101
102102
Parameters

babelizer/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def __init__(
8484
def __getitem__(self, key: str) -> dict[str, Any]:
8585
return self._meta[key]
8686

87-
def __iter__(self) -> Generator[str, None, None]:
87+
def __iter__(self) -> Generator[str]:
8888
yield from self._meta
8989

9090
def __len__(self) -> int:

0 commit comments

Comments
 (0)