mirror of https://github.com/Delgan/loguru.git
30 lines
718 B
YAML
30 lines
718 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.5.0
|
|
hooks:
|
|
- id: end-of-file-fixer
|
|
- id: trailing-whitespace
|
|
- id: check-added-large-files
|
|
- repo: https://github.com/crate-ci/typos
|
|
rev: v1.18.0
|
|
hooks:
|
|
- id: typos
|
|
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
|
|
rev: v2.12.0
|
|
hooks:
|
|
- id: pretty-format-ini
|
|
args: [--autofix]
|
|
- id: pretty-format-yaml
|
|
args: [--autofix, --indent, '2']
|
|
- id: pretty-format-toml
|
|
args: [--autofix]
|
|
- repo: https://github.com/ambv/black
|
|
rev: 24.1.1
|
|
hooks:
|
|
- id: black
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.2.0
|
|
hooks:
|
|
- id: ruff
|
|
args: [--fix, --exit-non-zero-on-fix]
|