ReMe/.pre-commit-config.yaml
Ikko Eltociear Ashimine 330b7660c9
docs: add Japanese README (#11)
I created Japanese translated README.
2024-11-21 14:01:27 +08:00

45 lines
1.2 KiB
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: check-ast
- id: check-yaml
- id: check-xml
- id: check-toml
- id: check-docstring-first
- id: check-json
- id: detect-private-key
- id: trailing-whitespace
exclude: (README\.md|README_ZH\.md|README_JP\.md)$
- id: end-of-file-fixer
files: \.py$
- id: check-merge-conflict
- id: check-symlinks
- id: mixed-line-ending
- repo: https://github.com/PyCQA/flake8
rev: 6.1.0
hooks:
- id: flake8
- repo: https://github.com/pappasam/toml-sort
rev: v0.23.1
hooks:
- id: toml-sort-fix
- repo: https://github.com/srstevenson/nb-clean
rev: 3.1.0
hooks:
- id: nb-clean
args: [ --preserve-cell-outputs, --remove-empty-cells ]
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
hooks:
- id: codespell
additional_dependencies: [ tomli ]
exclude: |
poetry.lock|
(\/.*?\.[\w:]+)/pyproject.toml|
(\/.*?\.[\w:]+)/poetry.lock
args:
[
"--ignore-words-list",
"astroid,gallary,momento,narl,ot,rouge,nin,gere,asend,ans,thur",
]