Skip to content

Commit effeb7a

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 282f7ae commit effeb7a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pre_commit_hooks/check_executables_have_shebangs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class GitLsFile(NamedTuple):
3535
filename: str
3636

3737

38-
def git_ls_files(paths: Sequence[str]) -> Generator[GitLsFile, None, None]:
38+
def git_ls_files(paths: Sequence[str]) -> Generator[GitLsFile]:
3939
outs = cmd_output('git', 'ls-files', '-z', '--stage', '--', *paths)
4040
for out in zsplit(outs):
4141
metadata, filename = out.split('\t')

pre_commit_hooks/check_yaml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
yaml = ruamel.yaml.YAML(typ='safe')
1212

1313

14-
def _exhaust(gen: Generator[str, None, None]) -> None:
14+
def _exhaust(gen: Generator[str]) -> None:
1515
for _ in gen:
1616
pass
1717

0 commit comments

Comments
 (0)