Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Add `check-github-funding` pre-commit hook

Đang mở
#725 1 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

  • #727 của @ac1982 — đã đóng, không merge
  • #736 của @Fire162 — đã đóng, không merge

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
json, python, yaml
Lĩnh vực
tooling

Hướng nghiên cứu

Start by reading src/check_jsonschema/catalog.py and the existing GitHub hook entries to follow the catalog-driven pattern. Add the GitHub Funding schema as a builtin and expose the generated check-github-funding hook; consult the supported hooks documentation for the expected user-facing entry. Done when the hook is available for pre-commit use with the vendored schema.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Problem

check-jsonschema provides dedicated pre-commit hooks for several GitHub configuration files, but there is no built-in hook for .github/FUNDING.yml. Users currently need to configure the generic check-jsonschema hook with the SchemaStore schema manually.

Proposal

Add the GitHub Funding schema as a vendored builtin schema and expose a generated check-github-funding hook in the supported pre-commit hooks, following the existing catalog-driven pattern used by the other GitHub hooks.
Using: https://www.schemastore.org/github-funding.json.

Usage

- repo: https://github.com/python-jsonschema/check-jsonschema
  rev: <version>
  hooks:
    - id: check-github-funding

References

Ngôn ngữ chính
Python
Star
347
Fork
73
Merge trung bình
2 ngày 1 giờ
Pull request đã merge (30 ngày)
13

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của python-jsonschema/check-jsonschema

Tất cả issue của python-jsonschema/check-jsonschema

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.