From 0880e1fef78fd9a2e0747e0940e3adc5539c314b Mon Sep 17 00:00:00 2001 From: "Philipp A." Date: Mon, 4 Nov 2024 19:28:29 +0100 Subject: [PATCH] fix pyproject-fmt --- .pre-commit-config.yaml | 4 ++-- {{cookiecutter.project_name}}/.pre-commit-config.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 52b068f0..e3019764 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,10 +6,10 @@ repos: - id: prettier # Hooks that are run for scripts - repo: https://github.com/tox-dev/pyproject-fmt - rev: "v2.5.0" + rev: v2.5.0 hooks: - id: pyproject-fmt - files: ^scripts/ + files: ^scripts/pyproject\.toml$ - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.7.2 hooks: diff --git a/{{cookiecutter.project_name}}/.pre-commit-config.yaml b/{{cookiecutter.project_name}}/.pre-commit-config.yaml index 071147dc..5f8eb800 100644 --- a/{{cookiecutter.project_name}}/.pre-commit-config.yaml +++ b/{{cookiecutter.project_name}}/.pre-commit-config.yaml @@ -11,7 +11,7 @@ repos: hooks: - id: prettier - repo: https://github.com/tox-dev/pyproject-fmt - rev: "v2.5.0" + rev: v2.5.0 hooks: - id: pyproject-fmt - repo: https://github.com/astral-sh/ruff-pre-commit