Switch to uv and prek, and enforce the shared lint suite
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 15/100
- issue の種類
- リファクタリング
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- eslint, github-actions, javascript, python
調査の方向性
Start with .pre-commit-config.yaml, pre-commit.yml, package.json, .eslintrc.js, .prettierrc.js, .github/dependabot.yml, and the scripts/ directory; compare the referenced Kolibri hook set. Verify the clean-checkout commands and workflow, dependency graph entries, removal of requirements-dev.txt and pip installs, lint fixes, and the new docs/ setup page. This issue is explicitly not open for contribution.
索引モデルが issue の本文から書いたものです。
説明
❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.
Overview
Nothing in this repo enforces the JS or Python linting our other repos run: ESLint reports 13 errors and Prettier flags 9 files on main. This brings its tooling in line with Kolibri, Studio, and Morango.
Complexity: Low
Target branch: main
Context
.pre-commit-config.yamlruns pre-commit-hooks v4.1.0, yamlfmt v0.14.0, actionlint v1.7.7, and the localgenerate-automationdrift check.requirements-dev.txtlistspre-commit;pre-commit.ymlinstalls prek withpipx install prek.- The repo has JS under
scripts/(ESLint and Prettier configured inpackage.json,.eslintrc.js,.prettierrc.js) and two Python scripts underscripts/. .github/dependabot.ymlcovers npm, pip, and github-actions monthly with a 7-day cooldown.
The Change
- The repo should be a uv project like Kolibri, Studio, and Morango, declaring
requestsfor the Python scripts andprekin a dev group. .pre-commit-config.yamlshould run the suite our other repos run: pre-commit-hooks, ruff and ruff-format, yamlfmt, actionlint, zizmor, uv-lock, and ESLint and Prettier on the JS, alongside the existinggenerate-automationcheck.- Existing violations should be fixed, not excluded.
- Dependabot should replace its
pipentry withuvand add thepre-commitecosystem, monthly with the 7-day cooldown, hook bumps grouped into one PR.
Out of Scope
- Autofixing lint failures on PRs, including restoring the pre-commit.ci lite action.
Acceptance Criteria
- On a clean checkout,
uv sync --group devthenuv run prek run --all-filespasses. -
pre-commit.ymlruns the same hooks through uv and passes onmain. -
requirements-dev.txtis removed and no workflow runspip install. - Insights > Dependency graph > Dependabot lists
uv,pre-commit,npm, andgithub-actions, and nopip. - A page in
docs/covers setting up a dev environment: installing the Python and JS dependencies and the prek git hook.
References
- Kolibri's hook set: https://github.com/learningequality/kolibri/blob/develop/.pre-commit-config.yaml
- Dependabot
pre-commitecosystem: https://github.blog/changelog/2026-03-10-dependabot-now-supports-pre-commit-hooks/
AI usage
I chose the scope: prek and uv as in our other repos, Dependabot over a scheduled autoupdate job, and autofix left out. Claude Code surveyed this repo's and Kolibri's configs and drafted the sections, which I reviewed one by one.
- 主要言語
- JavaScript
- スター
- 1
- フォーク
- 7
- 平均マージ
- 1日 10時間
- マージ済み PR(30日)
- 4
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
learningequality/.github のほかの issue
-
github_actions
難易度 4/5 3〜5日 初心者へのやさしさ 58/100
learningequality/.github#102 ·
-
Create process for unplanned work and automate PR handling based on linked issue assignment再び着手できるかも @akolson が 180 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンgithub_actions
learningequality/.github#67 · コメント 1 件 · 担当者 1 名 ·
learningequality/.github の issue をすべて見る
似ている issue
-
[Bug] @deck.gl/arcgis dist import resolves to unpublished @deck.gl/core source path (9.3.11, 9.4.0)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
stac-utils/stac-fields#42 ·
-
[sec-check] SVG remote-reference gate misses src attributes, link hrefs and bare-string @importオープンagent/security hive/hosted-available-lke648397-260827-5n31 security
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
channels:add check:passed
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
メンテナーはふだん 2 日以内に返信