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
|
2022-12-20 02:50:52 +00:00
|
|
|
rev: v4.4.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
|
2023-04-04 08:33:02 +00:00
|
|
|
rev: 23.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
|
2022-12-20 02:50:52 +00:00
|
|
|
rev: 6.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
|
2023-04-04 08:33:02 +00:00
|
|
|
rev: 5.12.0
|
2021-03-12 16:34:46 +00:00
|
|
|
hooks:
|
|
|
|
|
- id: isort
|