mirror of
https://github.com/ocrmypdf/OCRmyPDF.git
synced 2025-06-26 23:49:59 +00:00
33 lines
850 B
YAML
33 lines
850 B
YAML
# SPDX-FileCopyrightText: 2022 James R. Barlow
|
|
# SPDX-License-Identifier: MPL-2.0
|
|
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.4.0
|
|
hooks:
|
|
- id: check-case-conflict
|
|
- id: check-merge-conflict
|
|
- id: check-toml
|
|
- id: check-yaml
|
|
- id: debug-statements
|
|
- 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]
|
|
- repo: https://github.com/psf/black
|
|
rev: 23.3.0
|
|
hooks:
|
|
- id: black
|
|
language_version: python
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
rev: v1.2.0
|
|
hooks:
|
|
- id: mypy
|
|
additional_dependencies:
|
|
- types-toml
|
|
- types-setuptools
|
|
- types-requests
|
|
- types-Pillow
|