5 Star 0 Fork 0

乾阜商务咨询有限公司 / wheat

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Wheat CIcoverage report

Wheat is a Python library for generating python project.

Prerequisite

  • Python ^3.7
  • Git
  • Poetry
  • Python IDE (Visual Studio Code is recommended!)

⚠️ Read the official manual or documentation of following projects before write any code ⚠️:

  • git, a version control system
  • Poetry, a python library to manage project dependencies
  • towncrier, a changelog generater
  • pre-commit, a git commit hook runner
  • commitizen, a semantic version manager

Usage

Install

from pypi:

pip install chance-wheat

from source code:

poetry install

Run

wheat

Development

  1. Install dev and production dependencies of the project by running:
poetry install
  1. Install pre-commit
poetry run pre-commit install
poetry run pre-commit install --hook-type commit-msg
  1. Verify pre-commit
poetry run pre-commit run --all-files
  1. Write your code in your IDE (Visual Studio Code is recommended!)
  2. Run unittest in your local dev environment
poetry run nosetests -w tests/unit
  1. After unittest passed, commit the changes
  2. Check if pre-commit check passed
  3. Push code changes to remote repository
  4. If CI passed and code quality is ok, bump version with commitizen
poetry run cz bump --files-only
  1. Write changelog with towncrier

    1. create a new temporary fragement in CHANGES/
    2. generate changelog
    poetry run towncrier
    1. remove temporary fragement
  2. Commit and push changes to remote repository

Contribution Rules

  • Clone this repository
  • Create issues first
  • Create merge request
  • Checkout the auto generated branch in your local environment
  • DO NOT push directly to master branch

License

MIT

空文件

简介

python项目生成脚本,能够根据选项生成指定格式的python项目,方便开发者迅速展开工作 展开 收起
Python
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Python
1
https://gitee.com/QianFuFinancial/wheat.git
git@gitee.com:QianFuFinancial/wheat.git
QianFuFinancial
wheat
wheat
master

搜索帮助