From 893a235bf03e64849c326e2ddb736142041c8cbb Mon Sep 17 00:00:00 2001 From: BalconyJH Date: Sun, 3 Nov 2024 16:07:58 +0800 Subject: [PATCH] :technologist: Update pre-commit configuration file. --- .pre-commit-config.yaml | 8 ++++---- pyproject.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c5280f74..91a634a0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,23 +11,23 @@ repos: hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] - stages: [commit] + stages: [pre-commit] - repo: https://github.com/pycqa/isort rev: 5.13.2 hooks: - id: isort - stages: [commit] + stages: [pre-commit] - repo: https://github.com/psf/black rev: 24.8.0 hooks: - id: black - stages: [commit] + stages: [pre-commit] - repo: https://github.com/pre-commit/mirrors-prettier rev: v4.0.0-alpha.8 hooks: - id: prettier types_or: [javascript, jsx, ts, tsx, markdown, yaml, json] - stages: [commit] \ No newline at end of file + stages: [pre-commit] diff --git a/pyproject.toml b/pyproject.toml index b8bf86da..52561904 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -77,7 +77,7 @@ adapters = [ [tool.black] line-length = 88 -target-version = ["py39", "py310", "py311", "py312"] +target-version = ["py310", "py311", "py312"] include = '\.pyi?$' extend-exclude = ''' '''