2021-05-04 05:26:23 -05:00
|
|
|
---
|
2023-05-10 08:55:49 +02:00
|
|
|
ci:
|
|
|
|
|
autoupdate_schedule: quarterly
|
|
|
|
|
|
2021-03-12 16:34:46 +00:00
|
|
|
# See https://pre-commit.com/hooks.html for info on hooks
|
|
|
|
|
repos:
|
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2024-01-01 20:54:46 +00:00
|
|
|
rev: v4.5.0
|
2021-03-12 16:34:46 +00:00
|
|
|
hooks:
|
|
|
|
|
- id: check-added-large-files
|
|
|
|
|
- id: check-ast
|
|
|
|
|
- id: check-case-conflict
|
2021-05-04 05:26:23 -05:00
|
|
|
- id: check-merge-conflict
|
2021-03-12 16:34:46 +00:00
|
|
|
- id: check-toml
|
|
|
|
|
- id: check-yaml
|
|
|
|
|
- id: debug-statements
|
|
|
|
|
- id: detect-private-key
|
|
|
|
|
- id: end-of-file-fixer
|
2021-05-04 05:26:23 -05:00
|
|
|
- id: forbid-new-submodules
|
2021-03-12 16:34:46 +00:00
|
|
|
- id: trailing-whitespace
|
|
|
|
|
|
|
|
|
|
- repo: https://github.com/psf/black
|
2024-04-01 22:50:36 +00:00
|
|
|
rev: 24.3.0
|
2021-03-12 16:34:46 +00:00
|
|
|
hooks:
|
|
|
|
|
- id: black
|
|
|
|
|
|
2021-05-03 17:36:04 +00:00
|
|
|
- repo: https://github.com/PyCQA/flake8
|
2024-04-01 22:50:36 +00:00
|
|
|
rev: 7.0.0
|
2021-03-12 16:34:46 +00:00
|
|
|
hooks:
|
|
|
|
|
- id: flake8
|
|
|
|
|
args: [--max-line-length=88]
|
2021-05-04 08:08:46 +01:00
|
|
|
language_version: python3
|
2021-03-12 16:34:46 +00:00
|
|
|
|
|
|
|
|
- repo: https://github.com/PyCQA/isort
|
2024-01-01 20:54:46 +00:00
|
|
|
rev: 5.13.2
|
2021-03-12 16:34:46 +00:00
|
|
|
hooks:
|
|
|
|
|
- id: isort
|