1
0
mirror of https://github.com/ultrajson/ultrajson.git synced 2024-11-23 16:42:10 +01:00
ultrajson/.pre-commit-config.yaml

49 lines
1.1 KiB
YAML
Raw Normal View History

repos:
- repo: https://github.com/asottile/pyupgrade
rev: v3.15.2
hooks:
- id: pyupgrade
2023-06-03 13:22:03 +02:00
args: [--py38-plus]
2024-04-01 19:58:55 +02:00
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.3.0
hooks:
- id: black
2023-06-03 13:22:03 +02:00
args: [--target-version=py38]
2020-09-08 20:12:50 +02:00
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
2020-09-08 20:12:50 +02:00
hooks:
- id: isort
2021-04-12 18:41:46 +02:00
- repo: https://github.com/PyCQA/flake8
rev: 7.0.0
hooks:
- id: flake8
additional_dependencies: [flake8-2020, flake8-implicit-str-concat]
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.10.0
hooks:
- id: python-check-blanket-noqa
- id: rst-backticks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
2020-05-12 08:38:10 +02:00
- id: check-json
2021-03-05 13:57:31 +01:00
- id: check-merge-conflict
- id: check-toml
- id: check-yaml
2020-05-12 08:36:47 +02:00
- id: end-of-file-fixer
2020-05-12 08:21:45 +02:00
- id: trailing-whitespace
exclude: "^.github/.*_TEMPLATE.md"
2021-05-11 17:53:59 +02:00
2023-06-03 13:22:03 +02:00
- repo: https://github.com/asottile/setup-cfg-fmt
rev: v2.5.0
2023-06-03 13:22:03 +02:00
hooks:
- id: setup-cfg-fmt
2024-05-12 08:04:19 +02:00
args: [--include-version-classifiers, --max-py-version=3.13]
2021-05-11 17:53:59 +02:00
ci:
2021-09-04 17:05:49 +02:00
autoupdate_schedule: quarterly