mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-02-12 12:29:57 +08:00
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 24.4.2 → 25.1.0](https://github.com/psf/black/compare/24.4.2...25.1.0) - https://github.com/timothycrosley/isort → https://github.com/PyCQA/isort - [github.com/PyCQA/isort: 5.13.2 → 6.0.0](https://github.com/PyCQA/isort/compare/5.13.2...6.0.0) - [github.com/pre-commit/mirrors-mypy: v1.13.0 → v1.15.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.13.0...v1.15.0) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
35 lines
777 B
YAML
35 lines
777 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
|
|
rev: 25.1.0
|
|
hooks:
|
|
- id: black
|
|
args: [--config=./pyproject.toml]
|
|
|
|
- repo: https://github.com/PyCQA/isort
|
|
rev: 6.0.0
|
|
hooks:
|
|
- id: isort
|
|
args: ["--profile", "black"]
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
rev: v1.15.0
|
|
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
|