cleanup precommit hooks (#3616)

Co-authored-by: Suchintan <suchintan@users.noreply.github.com>
This commit is contained in:
greg niemeyer
2025-10-09 18:20:02 -07:00
committed by GitHub
parent 451d5787cd
commit 7cd92f6972
6 changed files with 26 additions and 26 deletions

View File

@@ -17,7 +17,7 @@ repos:
hooks:
- id: check-python-version
name: Check Python Version (3.11-3.13)
entry: python -c "import sys; assert (3,11) <= sys.version_info[:2] <= (3,13), f'Python {sys.version_info[:2]} not supported. Use Python 3.11-3.13'"
entry: uv run python -c "import sys; assert (3,11) <= sys.version_info[:2] <= (3,13), f'Python {sys.version_info[:2]} not supported. Use Python 3.11-3.13'"
language: system
pass_filenames: false
always_run: true
@@ -105,6 +105,12 @@ repos:
types: [javascript]
- repo: local
hooks:
- id: frontend-precommit
name: Frontend Precommit (lint-staged)
entry: bash -c 'cd skyvern-frontend && npm run precommit'
language: system
files: ^skyvern-frontend/src/
pass_filenames: false
- id: vitest-type-check
name: vitest
entry: bash -c 'cd skyvern-frontend && ([ -d node_modules ] || npm ci) && npm run test'