Switch to uv and prek, and enforce the shared lint suite
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 15/100
- Tipo de issue
- Refatoração
- Clareza
- Claramente especificada
- Status de atividade
- Ativa
- Stack de tecnologia
- eslint, github-actions, javascript, python
- Domínio
- build-system, ci-cd, documentation, tooling
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
❌ 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.
- Linguagem predominante
- JavaScript
- Estrelas
- 1
- Forks
- 7
- Merge médio
- 1d 10h
- PRs com merge (30d)
- 4
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de learningequality/.github
-
Set up GitHub Discussions as the entry point for unplanned workTalvez já em andamento @akolson assumiu hoje. Aberta
learningequality/.github#105 · 1 responsável ·
-
github_actions
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 68/100
learningequality/.github#104 ·
-
github_actions
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 58/100
learningequality/.github#102 ·
-
Create process for unplanned work and automate PR handling based on linked issue assignmentTalvez livre de novo @akolson assumiu há 180 dias e não há nenhum pull request aberto. Abertagithub_actions
learningequality/.github#67 · 1 comentário · 1 responsável ·
Todas as issues de learningequality/.github
Issues semelhantes
-
automation models
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
needs:triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
Mantenedores costumam responder em até 1 dia
-
enhancement status: needs triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
mastra-ai/mastra#25508 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
Mantenedores costumam responder em até 1 dia
-
[aw] Upgrade availableAbertaagentic-workflows
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 72/100
githubnext/gh-aw-cao#15017 ·
Mantenedores costumam responder em até 1 dia