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

Update to use `uv init`

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
52/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python

調査の方向性

post-generation hook と、リポジトリ構造および pyproject.toml に対する既存の cookiecutter 処理から始めます。設定可能なオプションと依存関係が現在どのように適用されているかを追跡し、代表的なライブラリプロジェクトと実行可能プロジェクトを生成して、uv init が構造を作成し、追加の mypy、ruff、pytest 設定が保持されることを確認します。

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

説明

This tool current defines the repo structure and the contents of the pyproject.toml in a fairly inflexible manner.

Since the only packaging option is now uv, we should consider using the uv init command to create the repo structure. This will allow more flexibility in the types of software that can be built (libraries, executables, packages, etc)

Proposed approach
  1. Continue to use cookiecutter for configurable options and non-python package files (pre-commit, .github/, etc)
  2. In the post-gen hooks script:
    1. Run uv init using configurable options selected in the cookiecutter command.
    2. Add the extra config to the generated pyproject.toml (mypy, ruff, pytest, etc)
    3. Keep existing approach of adding dependencies
主要言語
Python
スター
14
フォーク
8
平均マージ
15分
マージ済み PR(30日)
1

環境構築

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

はじめの一歩

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

ImperialCollegeLondon/python-template のほかの issue

ImperialCollegeLondon/python-template の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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