Spaces:
Sleeping
Sleeping
repos: | |
- repo: https://github.com/pre-commit/pre-commit-hooks | |
rev: "v4.4.0" | |
hooks: | |
- id: check-case-conflict | |
- id: check-merge-conflict | |
- id: end-of-file-fixer | |
- id: trailing-whitespace | |
- id: check-yaml | |
- id: check-toml | |
- repo: https://github.com/astral-sh/ruff-pre-commit | |
rev: "v0.5.2" | |
hooks: | |
- id: ruff | |
args: [--exit-non-zero-on-fix, --config=pyproject.toml] | |
- id: ruff-format | |
args: [--config=pyproject.toml] | |
- repo: https://github.com/pre-commit/mirrors-prettier | |
rev: "v3.0.3" | |
hooks: | |
- id: prettier | |
# - repo: https://github.com/psf/black | |
# rev: 23.9.0 | |
# hooks: | |
# - id: black | |
# - repo: https://github.com/timothycrosley/isort | |
# rev: 5.12.0 | |
# hooks: | |
# - id: isort | |
# args: [--settings-path=pyproject.toml] | |
- repo: https://github.com/PyCQA/pydocstyle | |
rev: 6.3.0 | |
hooks: | |
- id: pydocstyle | |
args: [--config=pyproject.toml] | |