Skip to content
المشاريع

حول

⏱️ Tool to stop you from pushing huge diffs

أدوات التطوير

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
٠
خلال 15 يومًا
٠
خلال شهر
٠

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

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

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…