Skip to content

Commit 0179ffb

Browse files
revise: Revise local run section in README
Updated branch naming convention in task requirements.
1 parent 2e93506 commit 0179ffb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ CI 会检查:
1313
- 基础提交信息规范(可选:本仓库版本不在 CI 中强制检查提交信息,但会在人工复核中查看)
1414

1515
## 二、任务要求(必须全部完成)
16-
1. **创建新分支**:从 `main` 创建分支,命名建议:`fix/pep8``task/pep8-fix`
16+
1. **创建新分支**:从 `main` 创建分支,命名建议(请将user替换为实际的用户名)`fix/user``task/user-fix`
1717
2. **修复代码规范问题**
1818
- 修复 `src/bad_style.py` 里的 PEP 8/可读性问题(命名、导入、空格、长行、文档字符串、异常、重复代码等)
1919
- 允许你拆分函数、增加辅助函数、增加类型注解、增加合理注释/Docstring
@@ -55,7 +55,7 @@ isort --check-only .
5555
4、推送并创建 PR:
5656
git add .
5757
git commit -m "fix: pep8 refactor"
58-
git push -u origin fix/pep8
58+
git push -u origin fix/user (请将user替换为实际的用户名)
5959
PR 页面等待 GitHub Actions 执行,看到 grading-ci / grade (lint + format + tests) 为绿色即通过。
6060

6161
```

0 commit comments

Comments
 (0)