default_install_hook_types = ["pre-commit", "commit-msg"] [[repos]] repo = "https://github.com/astral-sh/ruff-pre-commit" rev = "v0.14.14" hooks = [ { id = "ruff-check", args = ["--fix"], types_or = ["python", "pyi"] }, { id = "ruff-format", types_or = ["python", "pyi"] }, ] [[repos]] repo = "https://github.com/djlint/djLint" rev = "v1.36.4" hooks = [ { id = "djlint", args = ["--reformat", "--format-js", "--format-css"] }, ] [[repos]] repo = "https://github.com/commitizen-tools/commitizen" rev = "v3.29.0" hooks = [ { id = "commitizen", stages = ["commit-msg"]}, ] [[repos]] repo = "https://github.com/astral-sh/uv-pre-commit" rev = "0.10.8" hooks = [ { id = "uv-lock" }, ] [[repos]] repo = "local" hooks = [ { id = "basedpyright", name = "basedpyright", entry = "uv run basedpyright highscore/", language = "system", types = ["python"], pass_filenames = false }, ] [[repos]] repo = "builtin" hooks = [ { id = "check-added-large-files" }, { id = "check-json" }, { id = "check-merge-conflict" }, { id = "check-toml" }, { id = "check-yaml" }, { id = "end-of-file-fixer" }, { id = "pretty-format-json", args=["--autofix"] }, { id = "trailing-whitespace" }, ]