🔧 chore(config): 移动配置文件到Python目录

- 将.pre-commit-config.yaml移动到Python目录以便于管理
- 其他相关文件也进行了相应的重命名和移动
This commit is contained in:
2025-03-29 21:11:10 +08:00
parent f1aca8531a
commit 580dafb9af
6 changed files with 25 additions and 25 deletions

View File

@@ -0,0 +1,25 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- id: check-merge-conflict
- id: check-symlinks
- id: mixed-line-ending
- id: debug-statements
- repo: https://github.com/psf/black
rev: 24.3.0
hooks:
- id: black
language_version: python3.12
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
name: isort (python)
args: ["--profile", "black"]