Files
baidu--unlimited-ocr/CONTRIBUTING.md
T
2026-07-13 13:04:41 +08:00

30 lines
1.5 KiB
Markdown

If you meet any problem or request a new feature, you're welcome to [create an issue](https://github.com/baidu/Unlimited-OCR/issues/new/choose).
If you can solve any of [the issues](https://github.com/baidu/Unlimited-OCR/issues), you're welcome to send the PR to us.
Before the PR:
* Make sure your code style conforms to [PEP 8](https://peps.python.org/pep-0008/). Indentation is preferred to be 4 spaces.
* The code appears where it should be. For example, code to support an extra inference backend should not be put in general modules like the model definition, while a general modification would better not be hidden inside a very specific backend.
* Has unittests.
After the PR:
* Make sure the [GitHub Actions](https://github.com/baidu/Unlimited-OCR/actions) passed.
# Chinese version
如果你遇到问题或需要新功能,欢迎[创建issue](https://github.com/baidu/Unlimited-OCR/issues/new/choose)。
如果你可以解决某个[issue](https://github.com/baidu/Unlimited-OCR/issues),欢迎发送PR。
发送PR前请确认:
* 你的代码符合[PEP 8代码规范](https://peps.python.org/pep-0008/)。缩进最好为4个空格。
* 代码出现的位置和其定位相符。比如对于某特定推理后端的扩展代码不该出现在模型定义这些较为通用的模块中,而一些非常通用的改动也不该深藏在某个特定后端的代码中。
* 有对应的单测代码。
提交PR后请确认:
* [GitHub Actions](https://github.com/baidu/Unlimited-OCR/actions)成功通过。