stroke-deepisles-demo / .pre-commit-config.yaml
VibecoderMcSwaggins's picture
feat: Gradio Custom Component for NiiVue (#29)
227ab66 unverified
raw
history blame
884 Bytes
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.8
hooks:
- id: ruff
args: [--fix]
- id: ruff-format
- repo: local
hooks:
- id: mypy
name: mypy
entry: uv run mypy
language: system
types: [python]
require_serial: true
# Exclude auto-generated Gradio custom component files
exclude: ^packages/niivueviewer/
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: trailing-whitespace
exclude: ^src/stroke_deepisles_demo/ui/assets/
- id: end-of-file-fixer
exclude: ^src/stroke_deepisles_demo/ui/assets/
- id: check-yaml
- id: check-added-large-files
args: [--maxkb=1000]
# Exclude vendored assets (NiiVue library ~2.9MB)
exclude: ^src/stroke_deepisles_demo/ui/assets/