mirror of
https://github.com/Genshin-bots/gsuid_core.git
synced 2025-05-31 12:40:28 +08:00
updates: - [github.com/psf/black: 24.3.0 → 24.4.2](https://github.com/psf/black/compare/24.3.0...24.4.2) - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
44 lines
1004 B
YAML
44 lines
1004 B
YAML
ci:
|
|
autofix_commit_msg: "🚨 `pre-commit-ci`修复格式错误"
|
|
skip:
|
|
- "poetry-lock"
|
|
autofix_prs: true
|
|
autoupdate_branch: master
|
|
autoupdate_schedule: monthly
|
|
autoupdate_commit_msg: "⬆️ `pre-commit-ci`自动升级"
|
|
repos:
|
|
- repo: https://github.com/pycqa/isort
|
|
rev: 5.13.2
|
|
hooks:
|
|
- id: isort
|
|
|
|
- repo: https://github.com/psf/black
|
|
rev: 24.4.2
|
|
hooks:
|
|
- id: black
|
|
|
|
- repo: https://github.com/pycqa/flake8
|
|
rev: 7.0.0
|
|
hooks:
|
|
- id: flake8
|
|
|
|
- repo: https://github.com/hadialqattan/pycln
|
|
rev: v2.4.0
|
|
hooks:
|
|
- id: pycln
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.6.0
|
|
hooks:
|
|
- id: end-of-file-fixer
|
|
- id: trailing-whitespace
|
|
|
|
- repo: https://github.com/python-poetry/poetry
|
|
rev: 1.8.0
|
|
hooks:
|
|
- id: poetry-check
|
|
- id: poetry-lock
|
|
- id: poetry-export
|
|
args: ["-f", "requirements.txt", "--without-hashes", "-o", "requirements.txt"]
|
|
verbose: true
|