29 lines
686 B
YAML
29 lines
686 B
YAML
---
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.6.0
|
|
hooks:
|
|
- id: check-yaml
|
|
- repo: https://github.com/shellcheck-py/shellcheck-py
|
|
rev: v0.10.0.1
|
|
hooks:
|
|
- id: shellcheck
|
|
- repo: https://github.com/pycqa/isort
|
|
rev: 5.13.2
|
|
hooks:
|
|
- id: isort
|
|
- repo: local
|
|
hooks:
|
|
- id: pytest
|
|
name: pytest
|
|
description: 'Run tests with pytest'
|
|
entry: uv run pytest
|
|
language: python
|
|
types: [python]
|
|
require_serial: true
|
|
pass_filenames: false
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.7.0
|
|
hooks:
|
|
- id: ruff
|
|
- id: ruff-format
|