2020-06-10 06:38:52 +00:00
|
|
|
---
|
2021-11-23 05:34:07 +00:00
|
|
|
ci:
|
|
|
|
autoupdate_schedule: monthly
|
|
|
|
|
2018-06-10 17:40:07 +00:00
|
|
|
repos:
|
2019-08-21 15:12:52 +00:00
|
|
|
- repo: https://github.com/psf/black
|
2022-04-05 13:20:55 +00:00
|
|
|
rev: 22.3.0
|
2018-06-10 17:40:07 +00:00
|
|
|
hooks:
|
|
|
|
- id: black
|
2019-01-31 07:19:26 +00:00
|
|
|
|
2022-03-21 07:47:47 +00:00
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
2022-06-06 19:44:54 +00:00
|
|
|
rev: v2.32.1
|
2022-03-21 07:47:47 +00:00
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
|
|
|
args: [--py3-plus, --keep-percent-format]
|
|
|
|
exclude: "tests/test_slots.py"
|
|
|
|
|
2020-12-07 06:37:37 +00:00
|
|
|
- repo: https://github.com/PyCQA/isort
|
2021-11-20 15:20:42 +00:00
|
|
|
rev: 5.10.1
|
2018-11-24 12:17:26 +00:00
|
|
|
hooks:
|
|
|
|
- id: isort
|
2019-10-17 08:31:11 +00:00
|
|
|
additional_dependencies: [toml]
|
2021-05-20 15:11:39 +00:00
|
|
|
files: \.py$
|
2022-03-21 07:47:47 +00:00
|
|
|
language_version: python3.10 # needed for match
|
2018-11-24 12:17:26 +00:00
|
|
|
|
2021-11-22 19:30:07 +00:00
|
|
|
- repo: https://github.com/PyCQA/flake8
|
|
|
|
rev: 4.0.1
|
2020-06-10 06:38:52 +00:00
|
|
|
hooks:
|
|
|
|
- id: flake8
|
2021-05-18 05:02:06 +00:00
|
|
|
language_version: python3.10
|
2020-06-10 06:38:52 +00:00
|
|
|
|
2020-08-25 10:37:54 +00:00
|
|
|
- repo: https://github.com/econchick/interrogate
|
2021-10-02 12:25:49 +00:00
|
|
|
rev: 1.5.0
|
2020-08-25 10:37:54 +00:00
|
|
|
hooks:
|
|
|
|
- id: interrogate
|
|
|
|
args: [tests]
|
2022-02-08 12:27:10 +00:00
|
|
|
language_version: python3.10 # needed for match
|
2020-08-25 10:37:54 +00:00
|
|
|
|
2018-11-24 12:17:26 +00:00
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2022-05-02 20:40:38 +00:00
|
|
|
rev: v4.2.0
|
2018-11-24 12:17:26 +00:00
|
|
|
hooks:
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: debug-statements
|
2022-02-08 12:27:10 +00:00
|
|
|
language_version: python3.10 # needed for match
|
2020-09-02 07:03:06 +00:00
|
|
|
- id: check-toml
|
2021-12-27 08:33:13 +00:00
|
|
|
- id: check-yaml
|