Newer
Older
- repo: https://github.com/pre-commit/pre-commit-hooks
hooks:
- id: mixed-line-ending
exclude_types: [svg]
- id: check-added-large-files
- id: check-docstring-first
- id: check-yaml
- id: end-of-file-fixer
exclude_types: [svg]
- id: trailing-whitespace
exclude_types: [svg]
- id: check-toml
- repo: https://github.com/psf/black
hooks:
- id: black
- repo: https://github.com/pycqa/isort
- repo: https://github.com/Carreau/velin
- id: velin
- repo: https://github.com/charliermarsh/ruff-pre-commit
- repo: https://github.com/adamchainz/blacken-docs
hooks:
- id: blacken-docs
- repo: https://github.com/asottile/pyupgrade
hooks:
- id: pyupgrade
args: [--py38-plus]
- repo: https://github.com/pre-commit/mirrors-prettier
hooks:
- id: prettier
files: \.(html|md|yml|yaml|toml)
args: [--prose-wrap=preserve]
additional_dependencies:
- prettier@2.7.1
- prettier-plugin-toml@0.3.1