27 lines
675 B
YAML
27 lines
675 B
YAML
default_language_version:
|
|
python: python3.9
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v3.3.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- id: check-yaml
|
|
- id: check-added-large-files
|
|
- id: check-case-conflict
|
|
- id: check-merge-conflict
|
|
- repo: https://github.com/psf/black
|
|
rev: 23.3.0
|
|
hooks:
|
|
- id: black
|
|
args: ["--check"]
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.0.286
|
|
hooks:
|
|
- id: ruff
|
|
args: ["--target-version", "py39"]
|
|
- repo: https://github.com/pdm-project/pdm
|
|
rev: 2.7.4
|
|
hooks:
|
|
- id: pdm-lock-check
|