aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorHsiangNianian <i@jyunko.cn>2026-01-16 15:37:26 +0800
committerHsiangNianian <i@jyunko.cn>2026-01-16 15:37:26 +0800
commit6beecb0dc8854ae2ed79da4a2be6e8bd895349e0 (patch)
tree44a57ce1926bc8de112250a96f8268dadf9d10bb /.pre-commit-config.yaml
parentcfa49be141ec3edd01d524b5230c7405b47dfd69 (diff)
downloadDropOut-6beecb0dc8854ae2ed79da4a2be6e8bd895349e0.tar.gz
DropOut-6beecb0dc8854ae2ed79da4a2be6e8bd895349e0.zip
chore: update pre-commit configuration and remove unnecessary dependencies
Modified the .pre-commit-config.yaml to include additional hooks and reorganized the repository structure. Updated pyproject.toml to remove the pre-commit dependency, streamlining the project configuration.
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml16
1 files changed, 12 insertions, 4 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 01d4add..0a9b345 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,14 +1,22 @@
+minimum_prek_version: '0.2.28'
+
repos:
- - repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v5.0.0
+ - repo: builtin
hooks:
- - id: check-ast
- - id: check-case-conflict
- id: check-json
exclude: ^ui/tsconfig.*\.json$
- id: check-toml
- id: check-yaml
+ - id: check-case-conflict
- id: fix-byte-order-marker
+ - id: end-of-file-fixer
+ - id: check-merge-conflict
+ - id: detect-private-key
+
+ - repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v5.0.0
+ hooks:
+ - id: check-ast
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.6