From 28065e411cd9faacf77c56ffbee445572f0cb6bd Mon Sep 17 00:00:00 2001 From: Steve Schmerler Date: Sun, 18 Feb 2024 19:03:34 +0100 Subject: [PATCH] BLD: add config for pre-commit.ci --- .pre-commit-config.yaml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1ab59be..6208901 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,9 +1,4 @@ repos: - ##- repo: https://github.com/psf/black - ## rev: 23.11.0 - ## hooks: - ## - id: black - - repo: https://github.com/astral-sh/ruff-pre-commit rev: 'v0.2.1' hooks: @@ -11,3 +6,11 @@ repos: - id: ruff # formatter - id: ruff-format + +# Config for https://pre-commit.ci/. Need that because dependabot doesn't +# support this config file +# (https://github.com/dependabot/dependabot-core/issues/1524), aww man! +# +ci: + autofix_commit_msg: | + [pre-commit.ci] auto fixes from pre-commit.com hooks