1234567891011121314151617181920212223242526272829303132333435363738 |
- # See https://pre-commit.com for more information
- # See https://pre-commit.com/hooks.html for more hooks
- repos:
- - repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v4.4.0
- hooks:
- - id: check-added-large-files
- - id: check-toml
- - id: check-yaml
- args:
- - --unsafe
- - id: end-of-file-fixer
- - id: trailing-whitespace
- - repo: https://github.com/charliermarsh/ruff-pre-commit
- rev: v0.2.2
- hooks:
- - id: ruff
- args:
- - --fix
- - id: ruff-format
- - repo: https://github.com/biomejs/pre-commit
- rev: v0.1.0
- hooks:
- - id: biome-check
- additional_dependencies: ["@biomejs/biome@1.4.1"]
- - repo: https://github.com/psf/black
- rev: 21.12b0
- hooks:
- - id: black
- - repo: https://github.com/PyCQA/isort
- rev: 5.13.2
- hooks:
- - id: isort
- ci:
- autofix_commit_msg: 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
- autoupdate_commit_msg: ⬆ [pre-commit.ci] pre-commit autoupdate
|