跳转到主要内容

使日常git工作流程更简单,自动化变基或修复。

项目描述

smartsquash

PyPI PyPI - License Code style: black

此版本仍在测试阶段。

使日常git工作流程更简单,自动化变基或修复。

构建

poetry install --no-dev --no-root
poetry build

安装

pip3 install smartsquash

使用

usage: sq [-h] [--target-branch TARGET_BRANCH] [--repo REPO] [--dry] [-s] [--no-add]

optional arguments:
  -h, --help            show this help message and exit
  --target-branch TARGET_BRANCH
                        Specify branch to target. Default is 'master'
  --repo REPO           Specify repo to modify. Uses pwd by default
  --dry                 Run dry
  -s, --squash          Squash similar commits on your feature branch
  --no-add              Don't add modified files to staging area

运行测试

poetry run coverage run --source . -m pytest  
poetry run coverage report

项目详情


下载文件

下载您平台上的文件。如果您不确定选择哪个,请了解更多关于安装包的信息。

源分布

smartsquash-0.2.1.tar.gz (6.8 kB 查看哈希值)

上传时间:

构建分布

smartsquash-0.2.1-py3-none-any.whl (8.4 kB 查看哈希值)

上传于 Python 3

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误记录 StatusPage StatusPage 状态页面