diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 771b3d212..6a91f92b4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,50 +1,5 @@ repos: - - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.3 + - repo: https://github.com/paddyroddy/.github + rev: v0.5.0 hooks: - - id: ruff - - id: ruff-format - - repo: https://github.com/Lucas-C/pre-commit-hooks - rev: v1.5.4 - hooks: - - id: forbid-tabs - - repo: https://github.com/pappasam/toml-sort - rev: v0.23.1 - hooks: - - id: toml-sort-fix - - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.6.1 - hooks: - - id: mypy - additional_dependencies: - - numpy - - pydantic - - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.3 - hooks: - - id: prettier - - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 - hooks: - - id: check-case-conflict - - id: check-docstring-first - - id: check-merge-conflict - - id: check-toml - - id: end-of-file-fixer - - id: mixed-line-ending - args: [--fix=lf] - - id: trailing-whitespace - - repo: https://github.com/adamchainz/blacken-docs - rev: "1.16.0" - hooks: - - id: blacken-docs - additional_dependencies: - - black - - repo: https://github.com/codespell-project/codespell - rev: v2.2.6 - hooks: - - id: codespell - - repo: https://github.com/renovatebot/pre-commit-hooks - rev: 37.33.2 - hooks: - - id: renovate-config-validator + - id: python-hooks