Bring Studio's linting in line with Kolibri's
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 1/100
- Type d'issue
- Refactorisation
- Clarté
- Clairement spécifiée
- Activité
- Active
- Stack technique
- python, yaml
- Domaine
- build-system, tooling
Piste de recherche
Read Studio’s existing pre-commit configuration and compare it with Kolibri’s linked .pre-commit-config.yaml and pyproject.toml rules. The issue says the initial prek switch must land first, with the remaining migration split into sub-issues. Done means Studio’s hooks use prek and the scoped Python, YAML, and workflow linting matches Kolibri; the issue explicitly says it is not open for contribution.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.
Overview
Studio lints Python with flake8, flake8-print, reorder-python-imports and black 20.8b1, run by pre-commit, and it has no YAML or workflow linting. Kolibri runs its hooks with prek, lints and formats Python with ruff, and lints YAML and workflows with yamlfmt, actionlint, zizmor and check-yaml (.pre-commit-config.yaml). Studio should match Kolibri, so that one set of tools and rules covers both repos and rtibblesbot can run Studio's hooks with prek inside its dev container.
Scope
- Run Studio's hooks with
prek. - Replace flake8, flake8-print, reorder-python-imports and black with ruff and ruff-format, using Kolibri's rule selection (pyproject.toml L173-203).
- Add Kolibri's YAML and workflow hooks: yamlfmt, actionlint, zizmor and pre-commit-hooks'
check-yaml. - Excluded: frontend linting, and the hooks that apply only to Kolibri (uv-lock, mypy, sqlfluff and its local hooks).
Strategy
- The
prekswitch lands first. Whoever picks up the rest breaks it into sub-issues.
AI usage
I used Claude Code to draft this. I chose Kolibri's regime as the target, the scope including YAML and workflow hooks, and the prek switch going first. Claude Code compared the two repos' hook configs and drafted the sections.
- Langage dominant
- JavaScript
- Étoiles
- 214
- Forks
- 327
- Merge moyen
- 17 h 5 min
- PR mergées (30 j)
- 25
Préparer son environnement
- Fournit un Dockerfile ou un fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de learningequality/studio
-
Community library status changes don't update `date_updated`Peut-être pris @ArpitaSamanta10 l’a pris il y a 14 jours. Ouvertecommunity-contribution-in-progress DEV: backend good first issue help wanted
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
learningequality/studio#6414 · 8 commentaires · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
-
Activation key can activate a different account whose email differs only in casePeut-être pris @Madhu-priya123 l’a pris il y a 5 jours. OuverteDEV: backend
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
learningequality/studio#6410 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
DEV: backend
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
learningequality/studio#6409 ·
Les mainteneurs répondent en général sous 1 jour
-
DEV: backend
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
learningequality/studio#6407 ·
Les mainteneurs répondent en général sous 1 jour
-
Stripe webhook accepts events when no webhook secret is configuredPeut-être pris @adibmbrk l’a pris il y a 14 jours. Ouvertecommunity-contribution-in-progress DEV: backend good first issue help wanted
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
learningequality/studio#6404 · 3 commentaires · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de learningequality/studio
Issues similaires
-
[bug] 提瓦特记事本原石检测框宽度较窄Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 64/100
babalae/bettergi-scripts-list#3905 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
[Bug] "Configure Colota" opens Colota with "Invalid configuration: No configuration data in URL"Ouverte
Difficulté 1/5 1-3 heures Accessibilité débutants 87/100
dedicatedcode/reitti#1445 ·
Les mainteneurs répondent en général sous 1 jour
-
New tool: Uncle DeskPeut-être pris @github-actions l’a pris aujourd’hui. Ouvertesubmission triage
Difficulté 1/5 Moins d'une heure Accessibilité débutants 85/100
kausalflow/tools#384 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Add spaced repetition schedulingOuvertegood first issue
Difficulté 2/5 1-3 heures Accessibilité débutants 67/100
-
Fuzz: css syntax bug foundOuvertearea: css
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
Les mainteneurs répondent en général sous 1 jour