2019-08-25 00:27:31 +02: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
|
2023-11-26 21:53:38 +01:00
|
|
|
rev: v4.5.0
|
2019-08-25 00:27:31 +02:00
|
|
|
hooks:
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: check-yaml
|
|
|
|
- id: check-added-large-files
|
|
|
|
|
|
|
|
- repo: https://github.com/ambv/black
|
2024-04-05 22:01:58 +02:00
|
|
|
rev: 24.3.0
|
2019-08-25 00:27:31 +02:00
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
language_version: python3
|
2022-11-21 14:27:49 +01:00
|
|
|
- repo: https://github.com/pycqa/flake8
|
2024-04-05 22:01:58 +02:00
|
|
|
rev: 7.0.0
|
2019-08-25 00:27:31 +02:00
|
|
|
hooks:
|
|
|
|
- id: flake8
|
2019-08-25 00:33:51 +02:00
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
2024-04-05 22:01:58 +02:00
|
|
|
rev: v3.15.2
|
2019-08-25 00:33:51 +02:00
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
2023-12-12 21:11:35 +01:00
|
|
|
args: [--py38-plus]
|
2019-08-25 00:40:39 +02:00
|
|
|
- repo: https://github.com/asottile/reorder_python_imports
|
2023-11-26 21:53:38 +01:00
|
|
|
rev: v3.12.0
|
2019-08-25 00:40:39 +02:00
|
|
|
hooks:
|
|
|
|
- id: reorder-python-imports
|
2020-12-26 13:10:56 +01:00
|
|
|
- repo: https://github.com/asottile/add-trailing-comma
|
2023-11-26 21:53:38 +01:00
|
|
|
rev: v3.1.0
|
2020-12-26 13:10:56 +01:00
|
|
|
hooks:
|
|
|
|
- id: add-trailing-comma
|