cleanup precommit hooks (#3616)
Co-authored-by: Suchintan <suchintan@users.noreply.github.com>
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user