Files
nonebot-plugin-marshoai/.pre-commit-config.yaml
pre-commit-ci[bot] cf670db935 [pre-commit.ci] pre-commit autoupdate
updates:
- https://github.com/psf/blackhttps://github.com/psf/black-pre-commit-mirror
- [github.com/psf/black-pre-commit-mirror: 25.1.0 → 26.1.0](https://github.com/psf/black-pre-commit-mirror/compare/25.1.0...26.1.0)
- [github.com/PyCQA/isort: 6.0.1 → 7.0.0](https://github.com/PyCQA/isort/compare/6.0.1...7.0.0)
- [github.com/pre-commit/mirrors-mypy: v1.17.1 → v1.19.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.17.1...v1.19.1)
2026-01-19 19:33:35 +00:00

35 lines
795 B
YAML

fail_fast: true
repos:
- repo: local
hooks:
- id: check-filenames
name: Check Python Filenames
entry: python ./.pre-commit/check_filename.py
language: python
files: \.py$
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 26.1.0
hooks:
- id: black
args: [--config=./pyproject.toml]
- repo: https://github.com/PyCQA/isort
rev: 7.0.0
hooks:
- id: isort
args: ["--profile", "black"]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.19.1
hooks:
- id: mypy
# - repo: https://github.com/pre-commit/pre-commit-hooks
# rev: v4.0.1
# hooks:
# - id: trailing-whitespace
# - id: end-of-file-fixer
# - id: check-yaml
# - id: check-added-large-files