Open sweep-mine[bot] opened 9 months ago
The command:
Run # stop the build if there are Python syntax errors or undefined names
yielded the following error:
##[error]Process completed with exit code 1.
Here are the logs:
./ultra_type/controller.py:27:1: E999 IndentationError: expected an indented block after function definition on line 26
def change_user(self):
^
1 E999 IndentationError: expected an indented block after function definition on line 26
1
Done.
Description
This pull request enhances the main loop with user and language options, and updates tests and docs.
Summary
main.py
to include options for changing user, selecting language, practicing, showing statistics, and exitingtest_user.py
to test user-related functionalitycontroller.py
to include methods for changing user and selecting languagemodel.py
to include a default user and methods for setting the userFixes #33.
š Latest improvements to Sweep:
rope
library to refactor Python! Check out Large Language Models are Bad at Refactoring Code. To have Sweep refactor your code, trysweep: Refactor <your_file>.py
!š” To get Sweep to edit this pull request, you can: