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

28 lines
703 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
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.14.11"
2023-04-14 00:05:43 -07:00
hooks:
- id: ruff-check
args: [--fix]
- id: ruff-format
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