OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

[Feature] Configurable Lint and Test each iteration

Open ryanpeach opened this issue 1 year ago • 2 comments

What problem or use case are you trying to solve?

Openhands needs to be able lint and test each iteration using custom lint commands, just like aider's configs:

lint-cmd, auto-lint, test-cmd, auto-test

Describe the UX of the solution you'd like

Add the following to config.toml

[sandbox]
enable_auto_lint # already exists
lint_cmd
enable_auto_test 
test_cmd # example: pytest

Do you have thoughts on the technical implementation?

docker run commands should be enough right?

Describe alternatives you've considered

Additional context

ryanpeach avatar Jan 15 '25 18:01 ryanpeach

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Feb 15 '25 01:02 github-actions[bot]

Still think this is essential

ryanpeach avatar Feb 15 '25 18:02 ryanpeach

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Mar 18 '25 02:03 github-actions[bot]

This issue was closed because it has been stalled for over 30 days with no activity.

github-actions[bot] avatar Mar 25 '25 02:03 github-actions[bot]