Skip to content

Commit

Permalink
Update pre-commit hook versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed Feb 1, 2021
1 parent bde03e2 commit a595214
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions repo_helper/files/pre_commit.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ def to_dict(self) -> MutableMapping[str, Union[str, List[Hook]]]:

pyupgrade = Repo(
repo=make_github_url("asottile", "pyupgrade"),
rev="v2.7.4",
hooks=[{"id": "pyupgrade", "args": ["--py36-plus"]}]
rev="v2.9.0",
hooks=[{"id": "pyupgrade", "args": ["--py36-plus", "--keep-runtime-typing"]}]
)

lucas_c_hooks = Repo(
Expand Down
3 changes: 2 additions & 1 deletion tests/test_files/test_testing_/test_make_pre_commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,12 @@ repos:
- id: rst-inline-touching-normal

- repo: https://github.com/asottile/pyupgrade
rev: v2.7.4
rev: v2.9.0
hooks:
- id: pyupgrade
args:
- --py36-plus
- --keep-runtime-typing

- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.9
Expand Down

0 comments on commit a595214

Please sign in to comment.