attrs/.pre-commit-config.yaml

52 lines
1.0 KiB
YAML
Raw Normal View History

2020-06-10 06:38:52 +00:00
---
2021-11-23 05:34:07 +00:00
ci:
autoupdate_schedule: monthly
2022-07-27 14:01:15 +00:00
default_language_version:
# Keep in-sync with .python-version-default
python: python3.11
2022-07-27 14:01:15 +00:00
2018-06-10 17:40:07 +00:00
repos:
2019-08-21 15:12:52 +00:00
- repo: https://github.com/psf/black
rev: 23.3.0
2018-06-10 17:40:07 +00:00
hooks:
- id: black
2019-01-31 07:19:26 +00:00
- repo: https://github.com/asottile/pyupgrade
rev: v3.4.0
hooks:
- id: pyupgrade
args: [--py37-plus, --keep-percent-format]
exclude: "tests/test_slots.py"
2020-12-07 06:37:37 +00:00
- repo: https://github.com/PyCQA/isort
2023-01-30 17:55:04 +00:00
rev: 5.12.0
hooks:
- id: isort
2021-05-20 15:11:39 +00:00
files: \.py$
2022-08-01 08:07:49 +00:00
- repo: https://github.com/asottile/yesqa
2022-08-18 07:03:24 +00:00
rev: v1.4.0
2022-08-01 08:07:49 +00:00
hooks:
- id: yesqa
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
2020-06-10 06:38:52 +00:00
hooks:
- id: flake8
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]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: debug-statements
2020-09-02 07:03:06 +00:00
- id: check-toml
2021-12-27 08:33:13 +00:00
- id: check-yaml