mirror of
https://github.com/TagStudioDev/TagStudio.git
synced 2026-01-28 22:01:24 +00:00
* feat(nix/shell): use uv for faster evaluation * feat(contrib): define developer configurations * feat(ci): configure pre-commit to use project dependencies, add mypy * fix(docs): typo * docs: split develop and install, document integrations * nit(contrib): add shellcheck directive to envrc's * docs: move third-party dependencies to install page * nit(flake): use pythonPackages variable --------- Co-authored-by: Travis Abendshien <46939827+CyanVoxel@users.noreply.github.com>
27 lines
584 B
YAML
27 lines
584 B
YAML
---
|
|
repos:
|
|
- repo: local
|
|
hooks:
|
|
- id: mypy
|
|
name: mypy
|
|
entry: mypy
|
|
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
|