mirror of
https://github.com/ManimCommunity/manim.git
synced 2026-06-22 10:01:47 +00:00
* adding codespell precommit hook * adding codespell config file * fixing typos * tweaking variable names to please codespell
35 lines
849 B
YAML
35 lines
849 B
YAML
default_stages: [commit, push]
|
|
fail_fast: false
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.0.1
|
|
hooks:
|
|
- id: mixed-line-ending
|
|
- repo: https://github.com/psf/black
|
|
rev: 21.5b1
|
|
hooks:
|
|
- id: black
|
|
- repo: https://github.com/asottile/blacken-docs
|
|
rev: v1.10.0
|
|
hooks:
|
|
- id: blacken-docs
|
|
additional_dependencies: [black==20.8b1]
|
|
- repo: https://github.com/pycqa/isort
|
|
rev: 5.8.0
|
|
hooks:
|
|
- id: isort
|
|
name: isort (python)
|
|
- id: isort
|
|
name: isort (cython)
|
|
types: [cython]
|
|
- id: isort
|
|
name: isort (pyi)
|
|
types: [pyi]
|
|
- repo: https://github.com/PyCQA/flake8
|
|
rev: 3.9.2
|
|
hooks:
|
|
- id: flake8
|
|
- repo: https://github.com/codespell-project/codespell
|
|
rev: v2.0.0
|
|
hooks:
|
|
- id: codespell
|