Skip to content

πŸ™Œ OpenHands: AI-Driven Development

chore: make sure Makefile `make lint` also lint tests (#7933)

Xingyao Wangc6092291ce25
diff --git a/Makefile b/Makefile
index a14c5bf7e3..aebdf8d90b 100644
--- a/Makefile
+++ b/Makefile
@@ -175,7 +175,7 @@ install-pre-commit-hooks:
lint-backend:
@echo "$(YELLOW)Running linters...$(RESET)"
- @poetry run pre-commit run --files openhands/**/* agenthub/**/* evaluation/**/* --show-diff-on-failure --config $(PRE_COMMIT_CONFIG_PATH)
+ @poetry run pre-commit run --files openhands/**/* evaluation/**/* tests/**/* --show-diff-on-failure --config $(PRE_COMMIT_CONFIG_PATH)
lint-frontend:
@echo "$(YELLOW)Running linters for frontend...$(RESET)"