feat(ci): script checking;

This commit is contained in:
Barrett Ruth 2025-11-08 17:41:49 -05:00
parent 7dbac2132a
commit 5730695a53
7 changed files with 333 additions and 0 deletions

View file

@ -9,6 +9,26 @@ repos:
files: \.lua$
pass_filenames: true
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.3
hooks:
- id: ruff-format
name: ruff (format)
files: \.py$
- id: ruff
name: ruff (lint imports)
args: ['--fix', '--select=I']
files: \.py$
- repo: local
hooks:
- id: mypy
name: mypy (type check)
entry: uv run mypy
language: system
args: ['.']
pass_filenames: false
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
hooks: