Verified Commit 4fa6b137 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Update pre-commit hooks

parent cbbf9b6f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
[general]
ignore=body-trailing-whitespace,body-is-missing
regex-style-search=True

[author-valid-email]
regex=.*@[a-zA-Z0-9][a-zA-Z0-9-]{1,61}[a-zA-Z0-9](\.[a-zA-Z0-9][a-zA-Z0-9-]{1,61}[a-zA-Z0-9])+
regex=@[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9](\.[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])+$

# vim:ft=cfg
+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.1.0
  rev: 3.3.0
  hooks:
  - id: flakeheaven
    additional_dependencies:
@@ -85,13 +85,12 @@ repos:
    - flake8-print
    - flake8-return
    - flake8-sfs
    - flake8-tabs

- repo: https://github.com/pre-commit/mirrors-mypy
  rev: v1.0.1
  rev: v1.10.1
  hooks:
  - id: mypy
    args: ["--python-version=3.9"]
    args: ["--python-version=3.10"]
    additional_dependencies:
    - types-requests
    - behave-utils ~=0.4.1