From b5215db3550f7f244697167e1bbf482f51ffcd0e Mon Sep 17 00:00:00 2001 From: bxdd Date: Sun, 14 Jan 2024 20:05:56 +0800 Subject: [PATCH] [MNT] add cn pr --- .gitee/PULL_REQUEST_TEMPLATE.md | 22 ++++++++++++---------- .github/PULL_REQUEST_TEMPLATE.md | 26 +++++++++++++------------- 2 files changed, 25 insertions(+), 23 deletions(-) diff --git a/.gitee/PULL_REQUEST_TEMPLATE.md b/.gitee/PULL_REQUEST_TEMPLATE.md index 0d8e118..494b48d 100644 --- a/.gitee/PULL_REQUEST_TEMPLATE.md +++ b/.gitee/PULL_REQUEST_TEMPLATE.md @@ -1,13 +1,15 @@ -# What does this PR do? - + - +## Description + -## Pre-Submission Checklist +## How has his PR been tested? -- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). -- [ ] Have you followed the commit format and enabled the pre-commit process as outlined in the [developer guide](https://gitee.com/beimingwu/learnware/blob/main/docs/about/dev.rst)? -- [ ] Was this discussed/approved via a Github issue? Please provide a link - to the issue. -- [ ] Did you pass the test by running `pytest tests/test_workflow` in the root directory? -- [ ] If adding a new feature, have you added tests that cover your changes? \ No newline at end of file +- [ ] Please pass the test by running `pytest tests/test_workflow` under upper directory of learnware. +- [ ] If you add new features, please test new features on your own test scirpt. + +## Types of changes + +- [ ] This PR fixes bugs +- [ ] This PR add new features +- [ ] This PR update documentations or fixes typo diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index fd1747a..09683b2 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,17 +1,17 @@ - + -## Description - +## 描述 + -## How has his PR been tested? -Please cover your changes with tests and attached the screenshots of tests results (if appropriate). +## 如何测试此 PR? +请全面测试您的更改,并附上测试结果的截图(如果适用)。 - -- [ ] Please pass the test by running `pytest tests/test_workflow` under upper directory of learnware. -- [ ] If you add new features, please test new features on your own test scirpt. + +- [ ] 请通过在 learnware 的上级目录下运行 `pytest tests/test_workflow` 来通过测试。 +- [ ] 如果您添加了新功能,请在您自己的测试脚本上测试改功能。 -## Types of changes - -- [ ] This PR fixes bugs -- [ ] This PR adds new features -- [ ] This PR updates documentations or fixes typo +## 更改的类型 + +- [ ] 此 PR 修复了 bug +- [ ] 此 PR 添加了新功能 +- [ ] 此 PR 更新了文档或修复了拼写错误