🔧 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

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