Feature: Add Black linting for Python files in the improve workflow
Feature: Add Black linting for Python files in the improve workflow: a task in LegoFlow-SWE (Harbor dataset). Currently, the improve function does not format Python source code before sending it to the LLM or after receiving changes. This can lead to inconsistent formatting, which may degrade the…
The task
Currently, the `improve` function does not format Python source code before sending it to the LLM or after receiving changes. This can lead to inconsistent formatting, which may degrade the quality of the LLM’s suggestions and result in messy diffs. We need to integrate automatic formatting using Black for Python…
Part of Lego-X/LegoFlow-SWE.