Aider · 原创练习输入

Aider lint test 教程:未使用导入与规格化字符串测试

需要修复的实际代码

import math

def normalize(value):
    return value.lower()

固定任务书

移除未使用的 math 导入,并让 normalize 去掉首尾空白后小写。不能修改 tests 或 lint.py。完成后分别给 lint/test 退出码。

文件范围

app.py
lint.py

原创练习文件的浏览器截图;不是 AI 产品界面。