🧑‍💻 Update pre-commit configuration file.

This commit is contained in:
BalconyJH 2024-11-03 16:07:58 +08:00
parent 060ccceecb
commit 893a235bf0
No known key found for this signature in database
GPG Key ID: FF602923BD2A1FAF
2 changed files with 5 additions and 5 deletions

View File

@ -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]
stages: [pre-commit]

View File

@ -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 = '''
'''