From a042c54418a4dce9b7d917621bd63464d15985d9 Mon Sep 17 00:00:00 2001 From: Jirka Borovec <6035284+Borda@users.noreply.github.com> Date: Wed, 14 Dec 2022 21:33:29 +0900 Subject: [PATCH] update pre-commit (#1390) --- .pre-commit-config.yaml | 10 +++++----- setup.cfg | 6 ++++-- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 80dc07db4f1..fdd47732e1c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,7 +23,7 @@ ci: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.3.0 + rev: v4.4.0 hooks: - id: end-of-file-fixer - id: trailing-whitespace @@ -38,7 +38,7 @@ repos: - id: detect-private-key - repo: https://github.com/asottile/pyupgrade - rev: v2.38.2 + rev: v3.3.1 hooks: - id: pyupgrade args: [--py36-plus] @@ -51,14 +51,14 @@ repos: args: [--in-place, --wrap-summaries=115, --wrap-descriptions=120] - repo: https://github.com/PyCQA/isort - rev: 5.10.1 + rev: 5.11.2 hooks: - id: isort name: imports require_serial: false - repo: https://github.com/psf/black - rev: 22.8.0 + rev: 22.12.0 hooks: - id: black name: Format code @@ -83,7 +83,7 @@ repos: - id: yesqa - repo: https://github.com/PyCQA/flake8 - rev: 5.0.4 + rev: 6.0.0 hooks: - id: flake8 name: PEP8 diff --git a/setup.cfg b/setup.cfg index 22deeda0747..abae64d8402 100644 --- a/setup.cfg +++ b/setup.cfg @@ -37,8 +37,10 @@ verbose = 2 format = pylint # see: https://www.flake8rules.com/ ignore = - E731 # Do not assign a lambda expression, use a def - E203 # whitespace before ':' + # Do not assign a lambda expression, use a def + E731 + # whitespace before ':' + E203 # setup.cfg or tox.ini