Files
ocrmypdf/.pre-commit-config.yaml
T

38 lines
983 B
YAML
Raw Normal View History

2019-02-08 14:09:08 -08:00
repos:
2019-11-25 14:38:23 -08:00
- repo: https://github.com/pre-commit/pre-commit-hooks
2022-07-22 23:49:51 -07:00
rev: v4.3.0
2019-11-25 14:38:23 -08:00
hooks:
- id: check-case-conflict
- id: check-merge-conflict
- id: check-toml
- id: check-yaml
- id: debug-statements
2021-09-14 17:20:43 -07:00
- repo: https://github.com/pycqa/isort
rev: 5.10.1
2019-12-19 15:16:48 -08:00
hooks:
- id: isort
2022-07-23 00:39:24 -07:00
args: ["--profile", "black", "-a", "from __future__ import annotations"]
2019-12-19 15:16:48 -08:00
- repo: https://github.com/psf/black
2022-07-22 23:49:51 -07:00
rev: 22.6.0
2019-12-19 15:16:48 -08:00
hooks:
- id: black
2020-11-03 00:20:25 -08:00
language_version: python
2021-08-26 17:59:40 -07:00
- repo: https://github.com/asottile/setup-cfg-fmt
2022-07-22 23:49:51 -07:00
rev: v1.20.2
2021-08-26 17:59:40 -07:00
hooks:
- id: setup-cfg-fmt
2021-08-26 18:04:38 -07:00
- repo: https://github.com/asottile/pyupgrade
2022-07-22 23:49:51 -07:00
rev: v2.37.2
2021-08-26 18:04:38 -07:00
hooks:
- id: pyupgrade
2022-08-02 15:05:43 -07:00
args: ["--py38-plus"]
2021-08-27 00:23:38 -07:00
- repo: https://github.com/pre-commit/mirrors-mypy
2022-07-22 23:49:51 -07:00
rev: v0.971
2021-08-27 00:23:38 -07:00
hooks:
- id: mypy
additional_dependencies:
- types-toml
- types-setuptools
- types-requests
- types-Pillow