Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Pre-commit GitHub action doesn't require package installation

オープン
#620 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
55/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
活発
技術スタック
github-actions, python
領域
ci-cd

調査の方向性

Start with the pre-commit GitHub Actions workflow in this template's .github/workflows directory, and compare it with the hats-query example linked in the issue, around line 41. Find the step that installs the package and check whether it can install only the development dependencies instead. Done when the pre-commit job no longer installs the package itself and the hooks still pass in CI.

索引モデルが issue の本文から書いたものです。

説明

enhancement

The pre-commit hooks we run in Github Actions don't require the package to be installed, and installation could be an expensive operation. We can install development dependencies only instead, see example in hats-query

https://github.com/astronomy-commons/hats-query/blob/f8e38cedfc555149cf3e1583fa855c3f1e91a275/.github/workflows/pre-commit-ci.yml#L41

主要言語
Jinja
スター
85
フォーク
16
平均マージ
23時間 2分
マージ済み PR(30日)
13

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

lincc-frameworks/python-project-template のほかの issue

lincc-frameworks/python-project-template の issue をすべて見る

似ている issue

DevOps の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。