15 lines
409 B
YAML
15 lines
409 B
YAML
# File format: https://pre-commit.com/#plugins
|
|
# Supported hooks: https://pre-commit.com/hooks.html
|
|
# Running "make format" fixes most issues for you
|
|
repos:
|
|
- repo: https://github.com/ambv/black
|
|
rev: 23.12.1
|
|
hooks:
|
|
- id: black
|
|
exclude: ^.*\b(migrations)\b.*$
|
|
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
|
# Ruff version.
|
|
rev: "v0.1.13"
|
|
hooks:
|
|
- id: ruff
|