Files
template-backend-service/.pre-commit-config.yaml
Nadezhda Lavrentieva a4b2c99c25 [TC-221]: init template-backend-service (#1)
https://eva.avroid.tech/desk/cards?obj=Task:TC-221

Начальная версия сервиса-шаблона

Co-authored-by: Nadezhda <nadezhda.lavrentieva@avroid.team>
Reviewed-on: https://git.avroid.tech/Templates/template-backend-service/pulls/1
Reviewed-by: Victor Stratov <victor.stratov@avroid.tech>
2024-10-15 10:22:28 +03:00

26 lines
588 B
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/python-poetry/poetry
rev: 1.8.2
hooks:
- id: poetry-check
- repo: local
hooks:
- id: format
name: format
entry: make format
language: system
pass_filenames: false
types: [python]
- id: lint
name: lint
entry: make lint
language: system
pass_filenames: false
types: [python]