gpt-engineer
gpt-engineer copied to clipboard
Formate uploading files with black linting tool
Overview
This PR aims to address Issue #1023 by integrating code formatting and linting tools into our development workflow. The primary goal is to enhance efficiency and improve the quality of the suggestions provided by LLMs by pre-screening code for errors. This preemptive check reduces the computational demand on LLMs, allowing them to focus on the complexity of tasks rather than basic syntax corrections.
Implementation Details
To minimize the impact on user experience, we plan to implement an automatic linting feature that will be enabled by default during the code processing phase. Users will be informed that their codebase has undergone linting, ensuring transparency. Additionally, we will provide an option for users who prefer not to use the linting tools, respecting diverse development preferences.
Scope and Targets
The initial rollout will focus on supporting Python files. This decision is made to strike a balance between managing dependencies and meeting the feature's requirements efficiently. By starting with these languages, we aim to cover a significant portion of the development activities within our community while keeping the implementation manageable.