attrs/.pre-commit-config.yaml

37 lines
789 B
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
2018-06-10 17:40:07 +00:00
repos:
2019-08-21 15:12:52 +00:00
- repo: https://github.com/psf/black
2024-03-16 14:31:54 +00:00
rev: 24.3.0
2018-06-10 17:40:07 +00:00
hooks:
- id: black
2019-01-31 07:19:26 +00:00
2023-08-15 08:10:08 +00:00
- repo: https://github.com/astral-sh/ruff-pre-commit
2024-03-16 14:31:54 +00:00
rev: v0.3.3
2022-08-01 08:07:49 +00:00
hooks:
2023-08-15 08:10:08 +00:00
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
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
2024-02-16 16:06:30 +00:00
language_version: python3.11
2020-08-25 10:37:54 +00:00
args: [tests]
2024-01-08 06:37:20 +00:00
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
hooks:
- id: codespell
args: [--exclude-file=tests/test_mypy.yml]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
2020-09-02 07:03:06 +00:00
- id: check-toml
2021-12-27 08:33:13 +00:00
- id: check-yaml