31 lines
806 B
YAML
31 lines
806 B
YAML
# SPDX-FileCopyrightText: 2025 Alexander Kalinovsky <a@k8y.ru>
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
repos:
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.12.12
|
|
hooks:
|
|
- id: ruff-check
|
|
args: ["--fix"]
|
|
- id: ruff-format
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
rev: v1.17.1
|
|
hooks:
|
|
- id: mypy
|
|
args: [
|
|
"--python-version", "3.13",
|
|
"--strict",
|
|
"--ignore-missing-imports",
|
|
"--warn-unused-ignores",
|
|
"--disable-error-code=misc"
|
|
]
|
|
additional_dependencies: ["types-pyyaml"]
|
|
- repo: https://github.com/codespell-project/codespell
|
|
rev: v2.4.1
|
|
hooks:
|
|
- id: codespell
|
|
- repo: https://github.com/fsfe/reuse-tool
|
|
rev: v5.1.1
|
|
hooks:
|
|
- id: reuse |