Skip to content

Commit c6144a0

Browse files
authored
Merge pull request #1077 from pre-commit/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 0c62534 + effeb7a commit c6144a0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ repos:
2323
hooks:
2424
- id: add-trailing-comma
2525
- repo: https://github.com/asottile/pyupgrade
26-
rev: v3.16.0
26+
rev: v3.17.0
2727
hooks:
2828
- id: pyupgrade
2929
args: [--py38-plus]

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)