Skip to content
项目

关于

⏱️ Tool to stop you from pushing huge diffs

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
0

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

git-limiter

PyPI PyPI - Downloads

Stop throwing huge diffs at your reviewer!

Motivation

Sometimes you can find yourself in a situation where your diff is very huge. It means it's hard to review. It means that you have a bad habit to do everything at once(and drop some plans in the middle without energy). What you really need is to sit down and decompose your task, do it in iterations. It's a good habit you can obtain using this tool.

Installation

poetry add git-limiter --group dev

Usage

git-limiter

pre-commit

You can use the following configuration for pre-commit integration:

repos:
  - repo: local
    hooks:
      - id: git-limiter
        name: git-limiter
        entry: git-limiter
        language: python
        types: [ python ]
        stages:
          - commit
          - push
        pass_filenames: false
        always_run: true
        args: [
          "--config",
          "pyproject.toml"
        ]

License

MIT

Contributors

探索相关项目

加载中…