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

33 lines
850 B
YAML
Raw Normal View History

# SPDX-FileCopyrightText: 2022 James R. Barlow
# SPDX-License-Identifier: MPL-2.0
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
2023-04-14 00:06:13 -07:00
rev: v4.4.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
2023-04-14 00:05:43 -07:00
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: "v0.0.261"
hooks:
- id: ruff
files: "src/.*\\.pyi?$"
args: [--fix, --exit-non-zero-on-fix]
2019-12-19 15:16:48 -08:00
- repo: https://github.com/psf/black
2023-04-14 00:06:13 -07:00
rev: 23.3.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-27 00:23:38 -07:00
- repo: https://github.com/pre-commit/mirrors-mypy
2023-04-14 00:06:13 -07:00
rev: v1.2.0
2021-08-27 00:23:38 -07:00
hooks:
- id: mypy
additional_dependencies:
- types-toml
- types-setuptools
- types-requests
- types-Pillow