Skip to content
المشاريع

حول

A pre-commit hook for zizmor.

الأمان والخصوصية

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

71 نجمة12 التفرعات +1 خلال 24 ساعة

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

خلال 24 ساعة
+١
خلال 7 أيام
+٣
خلال 15 يومًا
+٣
خلال شهر
جارٍ جمع السجل

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

README.md

الأصل

zizmor-pre-commit

image image Actions status

A pre-commit hook for zizmor.

Distributed as a standalone repository to enable installing zizmor via prebuilt wheels from PyPI.

Using zizmor with pre-commit

To run zizmor via pre-commit, add the following to your .pre-commit-config.yaml:

repos:
- repo: https://github.com/zizmorcore/zizmor-pre-commit
  # Zizmor version.
  rev: v1.33.1
  hooks:
    # Run the linter.
    - id: zizmor

To autofix issues, set the following args:

repos:
- repo: https://github.com/zizmorcore/zizmor-pre-commit
  # Zizmor version.
  rev: v1.33.1
  hooks:
    # Run the linter.
    - id: zizmor
      args: [--no-progress, --fix]

(--no-progress must be specified since that arg exists in the repo's hook configuration, and args overrides all existing args)

License

zizmor-pre-commit is licensed under:

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

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