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)
Switch to quarterly updates and manually updated via:
Work around to avoid updating to an alpha version of https://github.com/pre-commit/mirrors-prettier.
pngquant
.