fix: drop monorepo-era frontend/ and Poetry references from pre-commit (#366)

This commit is contained in:
Hiep Le
2026-05-12 17:19:02 +07:00
committed by GitHub
parent 4ce406d439
commit c053e6139a
2 changed files with 1 additions and 9 deletions
-8
View File
@@ -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
View File
@@ -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",