欢迎! 很高兴你愿意让这个项目变得更好, 你可以通过以下方式开始修改代码:
-
Fork 本仓库
-
通过
git clone <forked repo>以将仓库克隆到本地 -
启用一个虚拟空间, 例如:
python -m venv .venv source .venv/bin/activate -
安装所有 requirements:
pip install -r requirements_dev.txt pip install -e . pre-commit install -
修改代码以实现需求
-
在提交 Pull Request 前, 请使用
pre-commit工具检查代码:pre-commit run -a tox -e py
-
在 Pull Requests 提交新 Pull Request.