2023-08-03 19:13:21 +02:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2025-04-16 08:59:58 +02:00
|
|
|
rev: v5.0.0
|
2023-08-03 19:13:21 +02:00
|
|
|
hooks:
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: check-json
|
|
|
|
- id: check-toml
|
|
|
|
- id: check-yaml
|
|
|
|
- id: check-added-large-files
|
|
|
|
- id: check-ast
|
|
|
|
|
|
|
|
- repo: https://github.com/psf/black
|
2025-04-16 08:59:58 +02:00
|
|
|
rev: 25.1.0
|
2023-08-03 19:13:21 +02:00
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
|
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
2025-04-25 10:13:06 +02:00
|
|
|
rev: v0.11.7
|
2023-08-03 19:13:21 +02:00
|
|
|
hooks:
|
2023-10-23 15:08:16 +02:00
|
|
|
- args:
|
2024-01-02 20:38:40 +01:00
|
|
|
- --fix
|
|
|
|
- --exit-non-zero-on-fix
|
2023-10-23 15:08:16 +02:00
|
|
|
id: ruff
|
2023-08-03 19:13:21 +02:00
|
|
|
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
2025-04-16 08:59:58 +02:00
|
|
|
rev: v1.15.0
|
2023-08-03 19:13:21 +02:00
|
|
|
hooks:
|
2023-10-23 15:07:22 +02:00
|
|
|
- additional_dependencies:
|
2024-01-02 20:38:40 +01:00
|
|
|
- types-setuptools
|
2024-01-10 19:12:07 +01:00
|
|
|
- types-lxml
|
|
|
|
- numpy # for numpy plugin
|
2024-03-27 18:31:33 +01:00
|
|
|
- attrs
|
|
|
|
- multimethod
|
|
|
|
- rapidfuzz
|
2023-10-23 15:07:22 +02:00
|
|
|
id: mypy
|
2023-10-23 15:08:16 +02:00
|
|
|
|
2024-05-06 16:57:53 +02:00
|
|
|
- repo: https://gitlab.com/vojko.pribudic.foss/pre-commit-update
|
2025-04-16 08:59:58 +02:00
|
|
|
rev: v0.6.1
|
2023-10-23 15:08:16 +02:00
|
|
|
hooks:
|
|
|
|
- id: pre-commit-update
|
2024-07-22 16:54:33 +02:00
|
|
|
|
|
|
|
- repo: https://github.com/dhatim/python-license-check
|
|
|
|
rev: 0.9.2
|
|
|
|
hooks:
|
|
|
|
- id: liccheck
|
|
|
|
language: system
|