From a412ee5d15d2eb212dfb96b03ee897d59a17236c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sondre=20Lilleb=C3=B8=20Gundersen?= Date: Wed, 23 Nov 2022 21:27:13 +0100 Subject: [PATCH] chore: Update pre-commit hooks --- .pre-commit-config.yaml | 12 ++++++------ setup.cfg | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c4ae53d..07d2073 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,11 +1,11 @@ repos: - repo: https://github.com/ambv/black - rev: 22.6.0 + rev: 22.10.0 hooks: - id: black args: ['--quiet'] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.3.0 + rev: v4.4.0 hooks: - id: check-case-conflict - id: end-of-file-fixer @@ -15,8 +15,8 @@ repos: - id: check-merge-conflict - id: detect-private-key - id: double-quote-string-fixer - - repo: https://gitlab.com/pycqa/flake8 - rev: 3.9.2 + - repo: https://github.com/pycqa/flake8 + rev: 6.0.0 hooks: - id: flake8 additional_dependencies: [ @@ -31,7 +31,7 @@ repos: ] args: ['--enable-extensions=G'] - repo: https://github.com/asottile/pyupgrade - rev: v2.37.3 + rev: v3.2.2 hooks: - id: pyupgrade args: ["--py36-plus"] @@ -43,6 +43,6 @@ repos: - id: isort files: 'tests/.*' - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.971 + rev: v0.991 hooks: - id: mypy diff --git a/setup.cfg b/setup.cfg index e205183..82aa29a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -12,7 +12,7 @@ ignore = D401 # Type annotation for `self` TYP101 - TYP102 # for cls + TYP102 # Missing docstring in __init__ D107 # Missing docstring in public package