hotfix: Run both BE and FE pre-commits with husky (#8059)

This commit is contained in:
sp.wack 2025-04-24 18:21:41 +04:00 committed by GitHub
parent 00865fbb8a
commit db01cd39d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,3 +1,10 @@
# Run frontend checks
echo "Running frontend checks..."
cd frontend
npm run check-unlocalized-strings
npx lint-staged
# Run backend pre-commit
echo "Running backend pre-commit..."
cd ..
pre-commit run --files openhands/**/* evaluation/**/* tests/**/* --show-diff-on-failure --config ./dev_config/python/.pre-commit-config.yaml