2022-12-19 16:02:42 +03:00
|
|
|
repos:
|
2022-12-20 12:45:22 +03:00
|
|
|
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
|
|
|
hooks:
|
|
|
|
- id: ruff
|
2023-11-24 19:41:47 +03:00
|
|
|
rev: v0.1.6
|
2022-12-20 12:45:22 +03:00
|
|
|
|
2022-12-19 16:02:42 +03:00
|
|
|
- repo: https://github.com/commitizen-tools/commitizen
|
|
|
|
hooks:
|
2023-12-11 19:30:08 +03:00
|
|
|
- id: commitizen
|
|
|
|
- id: commitizen-branch
|
|
|
|
stages:
|
|
|
|
- push
|
|
|
|
rev: v3.13.0
|
2022-12-19 16:02:42 +03:00
|
|
|
|
|
|
|
- repo: https://github.com/pycqa/isort
|
2023-11-24 19:41:47 +03:00
|
|
|
rev: 5.12.0
|
2022-12-19 16:02:42 +03:00
|
|
|
hooks:
|
|
|
|
- id: isort
|
2022-12-20 12:45:22 +03:00
|
|
|
|
2022-12-19 16:02:42 +03:00
|
|
|
- repo: https://github.com/psf/black
|
2023-11-24 19:41:47 +03:00
|
|
|
rev: 23.11.0
|
2022-12-19 16:02:42 +03:00
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
# It is recommended to specify the latest version of Python
|
|
|
|
# supported by your project here, or alternatively use
|
|
|
|
# pre-commit's default_language_version, see
|
|
|
|
# https://pre-commit.com/#top_level-default_language_version
|
|
|
|
# language_version: python3.11
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2023-11-24 19:41:47 +03:00
|
|
|
rev: v4.5.0
|
2022-12-19 16:02:42 +03:00
|
|
|
hooks:
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: trailing-whitespace
|