diff --git a/README.md b/README.md index 8e98d9d..f84b021 100644 --- a/README.md +++ b/README.md @@ -240,6 +240,8 @@ pre-commit install ``` The project uses `pytest` for testing, `pyright` for type checking, and `ruff` for code formatting. +Before submitting your code, you should run `pytest tests` to ensure all tests pass. + ## 🙏 Acknowledgments diff --git a/README_zh.md b/README_zh.md index d3ee7e3..87f6365 100644 --- a/README_zh.md +++ b/README_zh.md @@ -243,7 +243,8 @@ uv pip install --group dev -e . pre-commit install ``` -项目使用`pytest`测试,`pyright`检查类型,`ruff`检查代码格式。 +项目使用`pytest`测试,`pyright`检查类型,`ruff`检查代码格式。 +提交代码前你应该先运行`pytest tests`确保所有测试通过。 ## 🙏 致谢