Verified Commit 5a318276 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Upgrade pre-commit hooks

parent 46380103
Loading
Loading
Loading
Loading
+6 −5
Original line number Diff line number Diff line
default_stages: [commit]
default_install_hook_types: [pre-commit, pre-push, commit-msg]

repos:

- repo: meta
@@ -7,7 +9,7 @@ repos:
  - id: check-useless-excludes

- repo: https://github.com/pre-commit/pre-commit-hooks
  rev: v4.4.0
  rev: v4.5.0
  hooks:
  - id: check-added-large-files
  - id: check-case-conflict
@@ -52,7 +54,7 @@ repos:
  - id: python-use-type-annotations

- repo: https://github.com/hakancelikdev/unimport
  rev: 0.16.0
  rev: 1.0.0
  hooks:
  - id: unimport
    args: ["--remove", "--include=\\.pyi?$"]
@@ -67,10 +69,9 @@ repos:
    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]
    types: []
    types_or: [python, pyi]
    stages: [commit, manual]
@@ -88,7 +89,7 @@ repos:
    - pydocstyle[toml]

- repo: https://github.com/pre-commit/mirrors-mypy
  rev: v1.3.0
  rev: v1.6.1
  hooks:
  - id: mypy
    args: [--follow-imports=silent, project_templates]