20 lines
477 B
YAML
20 lines
477 B
YAML
|
# See https://pre-commit.com for more information
|
||
|
# See https://pre-commit.com/hooks.html for more hooks
|
||
|
repos:
|
||
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||
|
# Ruff version.
|
||
|
rev: v0.4.3
|
||
|
hooks:
|
||
|
# ruff lint
|
||
|
#- id: ruff
|
||
|
# args: [ --fix ]
|
||
|
# ruff fmt
|
||
|
- id: ruff-format
|
||
|
|
||
|
- repo: https://github.com/commitizen-tools/commitizen
|
||
|
rev: master
|
||
|
hooks:
|
||
|
- id: commitizen
|
||
|
- id: commitizen-branch
|
||
|
stages: [push]
|