mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-02-07 05:56:11 +08:00
24 lines
575 B
Markdown
Executable File
24 lines
575 B
Markdown
Executable File
# 开发指北
|
||
|
||
## 规范化
|
||
|
||
- PEP8
|
||
- mypy 类型检查
|
||
- black 格式化
|
||
|
||
## 开发依赖
|
||
|
||
- pre-commit,确保代码质量合格才可以提交
|
||
|
||
```bash
|
||
pre-commit install
|
||
```
|
||
|
||
## 提交及拉取请求
|
||
|
||
- 提交后请静待workflows运行结果,若pre-commit通不过请不要PR到主仓库,自行解决掉问题后再次提交
|
||
|
||
## 其他提示
|
||
|
||
- 在西文大小写不敏感的文件系统或操作系统中开发时请注意文件名的西文大小写情况,点名批评 APFS 文件系统和视窗操作系统
|
||
- 请在提交的文件中尽可能使用相对路径 |