mirror of
https://github.com/TagStudioDev/TagStudio.git
synced 2026-07-08 23:24:42 +02:00
faf88a912e
This has the approval of myself and @CyanVoxel, whom are the only contributors to these files.
29 lines
681 B
YAML
29 lines
681 B
YAML
# SPDX-FileCopyrightText: (c) TagStudio Contributors
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
---
|
|
repos:
|
|
- repo: local
|
|
hooks:
|
|
- id: pyright
|
|
name: pyright
|
|
entry: pyright
|
|
language: system
|
|
types_or: [python, pyi]
|
|
require_serial: true
|
|
|
|
- id: ruff
|
|
name: ruff
|
|
entry: ruff check
|
|
language: system
|
|
types_or: [python, pyi, jupyter]
|
|
args: [--force-exclude]
|
|
require_serial: true
|
|
|
|
- id: ruff-format
|
|
name: ruff-format
|
|
entry: ruff format
|
|
language: system
|
|
types_or: [python, pyi, jupyter]
|
|
args: [--force-exclude, --check]
|
|
require_serial: true
|