mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-01-26 18:12:47 +08:00
Snowykami
d0110f1c11
All checks were successful
Pre-commit checks / pre-commit (3.11) (push) Successful in 1m38s
Pre-commit checks / pre-commit (3.10) (push) Successful in 2m13s
Pre-commit checks / pre-commit (3.12) (push) Successful in 2m15s
Pre-commit checks / pre-commit (3.13) (push) Successful in 2m13s
Pytest API Testing / Pytest (3.11) (push) Successful in 1m30s
Pytest API Testing / Pytest (3.10) (push) Successful in 2m10s
Pytest API Testing / Pytest (3.12) (push) Successful in 2m7s
Pytest API Testing / Pytest (3.13) (push) Successful in 2m4s
35 lines
787 B
YAML
Executable File
35 lines
787 B
YAML
Executable File
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: 24.4.2
|
|
hooks:
|
|
- id: black
|
|
args: [--config=./pyproject.toml]
|
|
|
|
- repo: https://github.com/timothycrosley/isort
|
|
rev: 5.13.2
|
|
hooks:
|
|
- id: isort
|
|
args: ["--profile", "black"]
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
rev: v1.13.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
|