mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2026-04-28 11:40:32 +00:00
cleanup precommit hooks (#3616)
Co-authored-by: Suchintan <suchintan@users.noreply.github.com>
This commit is contained in:
parent
451d5787cd
commit
7cd92f6972
6 changed files with 26 additions and 26 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue