some misc fixes
This commit is contained in:
parent
6647e4120e
commit
f805251762
9 changed files with 48 additions and 139 deletions
|
|
@ -20,17 +20,16 @@ repos:
|
|||
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:
|
||||
- id: prettier
|
||||
name: prettier
|
||||
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: ty-type-check
|
||||
name: ty (Python type checker)
|
||||
language: system
|
||||
entry: uv run ty check
|
||||
types: [python]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue