diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 669d882..f1e093a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,20 +5,20 @@ repos: - id: seed-isort-config name: Seed isort - repo: https://github.com/psf/black - rev: 22.6.0 + rev: 24.2.0 hooks: - id: black language_version: python3 args: [--line-length=100, --target-version=py37] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.3.0 + rev: v4.5.0 hooks: - id: end-of-file-fixer exclude: ^.bumpversion.cfg - id: trailing-whitespace exclude: ^.bumpversion.cfg - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v0.971" + rev: "v1.9.0" hooks: - id: mypy name: Lint core with mypy @@ -28,18 +28,18 @@ repos: args: [--ignore-missing-imports] additional_dependencies: [types-all] - repo: https://github.com/PyCQA/isort - rev: "5.10.1" + rev: "5.13.2" hooks: - id: isort name: Sort import with isort args: ["-m3", "-w 100", "--tc"] exclude: ^tests/ - repo: https://github.com/pre-commit/mirrors-prettier - rev: "v2.7.1" # Use the sha or tag you want to point at + rev: "v4.0.0-alpha.8" # Use the sha or tag you want to point at hooks: - id: prettier - repo: https://github.com/PyCQA/flake8 - rev: "5.0.4" # pick a git hash / tag to point to + rev: "7.0.0" # pick a git hash / tag to point to hooks: - id: flake8 exclude: ^tests/