Commit 7731f2d4 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Update pre-commit hooks

parent 5e040de9
Loading
Loading
Loading
Loading
+10 −10
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: v3.4.0
  rev: v4.4.0
  hooks:
  - id: check-added-large-files
  - id: check-case-conflict
@@ -30,12 +30,12 @@ repos:
    stages: [commit, manual]

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

- repo: https://code.kodo.org.uk/dom/pre-commit-hooks
  rev: v0.6
  rev: v0.6.1
  hooks:
  - id: check-executable-modes
  - id: check-for-squash
@@ -44,14 +44,14 @@ repos:
  - id: protect-first-parent

- repo: https://github.com/pre-commit/pygrep-hooks
  rev: v1.8.0
  rev: v1.10.0
  hooks:
  - id: python-no-eval
  - id: python-no-log-warn
  - id: python-use-type-annotations

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

- repo: https://github.com/pycqa/isort
  rev: 5.9.3
  rev: 5.12.0
  hooks:
  - id: isort
    args: ["--settings=.lint.cfg"]
    stages: [commit, manual]

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

- repo: https://github.com/flakeheaven/flakeheaven
  rev: 1.0.1
  rev: 3.1.0
  hooks:
  - id: flakeheaven
    args: ["--config=.lint.cfg"]
@@ -89,7 +89,7 @@ repos:
    - flake8-tabs

- repo: https://github.com/pre-commit/mirrors-mypy
  rev: v0.982
  rev: v1.0.1
  hooks:
  - id: mypy
    args: ["--config-file=.lint.cfg", "--python-version=3.9"]