mirror of
https://github.com/ManimCommunity/manim.git
synced 2026-06-22 10:01:47 +00:00
updates: - [github.com/astral-sh/ruff-pre-commit: v0.14.9 → v0.14.10](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.9...v0.14.10) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
default_stages: [pre-commit, pre-push]
|
|
fail_fast: false
|
|
exclude: ^(manim/grpc/gen/|docs/i18n/)
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v6.0.0
|
|
hooks:
|
|
- id: check-ast
|
|
name: Validate Python
|
|
- id: trailing-whitespace
|
|
- id: mixed-line-ending
|
|
- id: end-of-file-fixer
|
|
- id: check-toml
|
|
name: Validate pyproject.toml
|
|
|
|
- repo: https://github.com/codespell-project/codespell
|
|
rev: v2.4.1
|
|
hooks:
|
|
- id: codespell
|
|
files: ^.*\.(py|md|rst)$
|
|
args: ["-L", "medias,nam"]
|
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.14.10
|
|
hooks:
|
|
- id: ruff
|
|
name: ruff lint
|
|
types: [python]
|
|
args: [--exit-non-zero-on-fix]
|
|
- id: ruff-format
|
|
types: [python]
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
rev: v1.19.1
|
|
hooks:
|
|
- id: mypy
|
|
additional_dependencies:
|
|
[
|
|
types-backports,
|
|
types-decorator,
|
|
types-docutils,
|
|
types-requests,
|
|
types-setuptools,
|
|
]
|
|
files: ^manim/
|