mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-10-06 15:03:43 +08:00
fix: drop monorepo-era frontend/ and Poetry references from pre-commit (#366)
This commit is contained in:
@@ -1,9 +1 @@
|
||||
# Run frontend checks
|
||||
echo "Running frontend checks..."
|
||||
cd frontend
|
||||
npx lint-staged
|
||||
|
||||
# Run backend pre-commit
|
||||
echo "Running backend pre-commit..."
|
||||
cd ..
|
||||
poetry run pre-commit run --files openhands/**/* evaluation/**/* tests/**/* --show-diff-on-failure --config ./dev_config/python/.pre-commit-config.yaml
|
||||
|
||||
+1
-1
@@ -87,7 +87,7 @@
|
||||
"prelint": "npm run make-i18n",
|
||||
"lint": "npm run typecheck && eslint src && prettier --check src/**/*.{ts,tsx}",
|
||||
"lint:fix": "eslint src --fix && prettier --write src/**/*.{ts,tsx}",
|
||||
"prepare": "[ -d '../.git' ] && cd .. && husky frontend/.husky || true",
|
||||
"prepare": "husky",
|
||||
"typecheck": "react-router typegen && tsc",
|
||||
"typecheck:staged": "react-router typegen && npx tsc --noEmit --skipLibCheck",
|
||||
"check-translation-completeness": "node scripts/check-translation-completeness.cjs",
|
||||
|
||||
Reference in New Issue
Block a user