From 8de680ad3aec196e724b8deef0d796e66b4e7be3 Mon Sep 17 00:00:00 2001 From: cmp0xff Date: Sat, 31 Aug 2024 14:22:16 +0200 Subject: [PATCH 1/2] chore(black): #90 only use black formatter and update it --- .pre-commit-config.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 69ece53..a771d73 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,17 +11,15 @@ repos: - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.6.1 + rev: v0.6.2 hooks: # Run the linter. - id: ruff args: - --fix - --exit-non-zero-on-fix - # Run the formatter. - - id: ruff-format - repo: https://github.com/ambv/black - rev: 24.4.2 + rev: 24.8.0 hooks: - id: black language: python From 1568b44e39fdc6f193b70174b1e00d247d032fb4 Mon Sep 17 00:00:00 2001 From: cmp0xff Date: Sat, 31 Aug 2024 14:24:59 +0200 Subject: [PATCH 2/2] chore(pre-commit): #90 update hooks --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a771d73..ad1d2f0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ exclude: "^notebooks/|^notes/" repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v4.6.0 hooks: - id: check-added-large-files - id: debug-statements @@ -11,14 +11,14 @@ repos: - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.6.2 + rev: v0.6.3 hooks: # Run the linter. - id: ruff args: - --fix - --exit-non-zero-on-fix - - repo: https://github.com/ambv/black + - repo: https://github.com/psf/black rev: 24.8.0 hooks: - id: black