Skip to content

Commit 7bc664d

Browse files
Update pre-commit repos (#293)
Switch to quarterly updates and manually updated via: ``` import yaml import subprocess file = ".pre-commit-config.yaml" with open(file) as f: data = yaml.safe_load(f) repos = [] for repo in data["repos"]: if "mirrors-prettier" not in repo["repo"]: repos.append("--repo") repos.append(repo["repo"]) command = ["pre-commit", "autoupdate", "--freeze"] + repos print(" ".join(command)) subprocess.call(command) ``` Work around to avoid updating to an alpha version of https://github.com/pre-commit/mirrors-prettier.
1 parent e8a7e3d commit 7bc664d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ repos:
1717
- id: check-added-large-files
1818

1919
- repo: https://github.com/psf/black
20-
rev: 2a1c67e0b2f81df602ec1f6e7aeb030b9709dc7c # frozen: 23.11.0
20+
rev: ec91a2be3c44d88e1a3960a4937ad6ed3b63464e # frozen: 23.12.1
2121
hooks:
2222
- id: black
2323

@@ -42,4 +42,4 @@ repos:
4242
ci:
4343
autofix_prs: false
4444
autofix_commit_msg: "[pre-commit.ci 🤖] Apply code format tools to PR"
45-
autoupdate_schedule: monthly
45+
autoupdate_schedule: quarterly

0 commit comments

Comments
 (0)