2024-05-26 10:06:30 +01:00
|
|
|
# See https://pre-commit.com for more information
|
|
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v4.6.0
|
|
|
|
hooks:
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: check-yaml
|
|
|
|
- id: check-added-large-files
|
2024-05-26 10:52:54 +01:00
|
|
|
- repo: https://github.com/python-poetry/poetry
|
|
|
|
rev: "1.8.0" # add version here
|
|
|
|
hooks:
|
|
|
|
- id: poetry-check
|
|
|
|
- id: poetry-lock
|
2024-05-26 10:06:30 +01:00
|
|
|
- repo: https://github.com/psf/black-pre-commit-mirror
|
|
|
|
rev: 24.4.2
|
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
language_version: python3.11
|
|
|
|
- repo: https://github.com/pycqa/isort
|
|
|
|
rev: 5.13.2
|
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
name: isort (python)
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
|
|
rev: "v1.10.0"
|
|
|
|
hooks:
|
|
|
|
- id: mypy
|