From f2e6549c18611d7e62769056dd69f08f45ef3a23 Mon Sep 17 00:00:00 2001 From: Artem Vasenin Date: Sun, 11 Aug 2024 02:49:32 +0100 Subject: [PATCH] ci: update pre-commit hooks --- .pre-commit-config.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3d9b16c..f5d6e70 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,11 +13,17 @@ repos: # Run the linter. - id: ruff args: [--fix] - # Run the formatter. - - id: ruff-format - repo: https://github.com/compilerla/conventional-pre-commit rev: v3.1.0 hooks: - id: conventional-pre-commit stages: [commit-msg] args: [] + - repo: https://github.com/pycqa/isort + rev: 5.12.0 + hooks: + - id: isort + - repo: https://github.com/psf/black + rev: 24.8.0 + hooks: + - id: black