Verified Commit f3b56ed6 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Update pre-commit hooks

parent ace5814f
Loading
Loading
Loading
Loading
+8 −9
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ repos:
  - id: check-useless-excludes

- repo: https://github.com/pre-commit/pre-commit-hooks
  rev: v4.4.0
  rev: v4.6.0
  hooks:
  - id: check-added-large-files
  - id: check-case-conflict
@@ -30,7 +30,7 @@ repos:
    stages: [commit, manual]

- repo: https://github.com/jorisroovers/gitlint
  rev: v0.18.0
  rev: v0.19.1
  hooks:
  - id: gitlint

@@ -52,7 +52,7 @@ repos:
  - id: python-use-type-annotations

- repo: https://github.com/hakancelikdev/unimport
  rev: 0.14.1
  rev: 1.2.1
  hooks:
  - id: unimport
    args: ["--remove", "--include=\\.pyi?$"]
@@ -61,13 +61,13 @@ repos:
    stages: [commit, manual]

- repo: https://github.com/pycqa/isort
  rev: 5.12.0
  rev: 5.13.2
  hooks:
  - id: isort
    stages: [commit, manual]

- repo: https://github.com/asottile/add-trailing-comma
  rev: v2.4.0
  rev: v3.1.0
  hooks:
  - id: add-trailing-comma
    args: [--py36-plus]
@@ -76,7 +76,7 @@ repos:
    stages: [commit, manual]

- repo: https://github.com/flakeheaven/flakeheaven
  rev: 3.2.1
  rev: 3.3.0
  hooks:
  - id: flakeheaven
    additional_dependencies:
@@ -87,7 +87,7 @@ repos:
    - flake8-sfs

- repo: https://github.com/pre-commit/mirrors-mypy
  rev: v1.0.1
  rev: v1.10.0
  hooks:
  - id: mypy
    args: [--follow-imports=silent]
@@ -97,7 +97,6 @@ repos:
    - types-requests
    - types-urllib3
    - typing-extensions ~=4.0; python_version < "3.11"
      # https://github.com/python-trio/trio-typing/pull/72
    - trio-typing[mypy] @git+https://github.com/gschaffner/trio-typing.git@fix-takes_callable_and_args-TypeVar-binding
    - trio-typing[mypy]
    - xdg ~=5.1
    - git+https://code.kodo.org.uk/dom/type-stubs.git#type-stubs[jsonpath,parse]