[CI] Add ruff lint step to CI (+ optional pre-commit config)
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 72/100
Línea de trabajo
The change touches requirements-dev.txt, pyproject.toml and .github/workflows/ci.yml. Start by reading the existing test job and the ci-ok gate in ci.yml, then run ruff locally against the source to see how many findings exist. Done means ruff is pinned, a [tool.ruff] section is in pyproject.toml, a lint job is added, ci-ok needs both test and lint, and CI is green.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
CI runs pytest but never lints the Python source itself (verified — no ruff/flake8/black anywhere in .github/workflows/ci.yml or pyproject.toml).
Steps:
- Add
rufftorequirements-dev.txt(pinned) - Add
[tool.ruff]config topyproject.toml— start permissive: default rules, line-length matching existing style; fix ornoqaexisting findings in the same PR - Add a fast lint job to
.github/workflows/ci.yml(single ubuntu leg) and wire it into the gate:ci-okbecomesneeds: [test, lint] - Optional follow-up PR:
.pre-commit-config.yamlwith ruff + trailing-whitespace hooks
Good first issue for someone who has set up ruff before. Keep the first PR small — config + green CI, not a style crusade.
- Lenguaje dominante
- Python
- Estrellas
- 1
- Forks
- 4
- Merge medio
- 12 d 21 h
- PR fusionados (30 d)
- 1
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de alphacrack/python-maithili-dsl
-
help wanted infra P2 testing
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
-
documentation enhancement good first issue help wanted P3
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
documentation good first issue P3
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
-
area:linter enhancement good first issue P3 translation
Dificultad 2/5 Medio día Aptitud para principiantes 66/100
-
area:cli enhancement good first issue P3
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Todos los issues de alphacrack/python-maithili-dsl
Issues similares
-
documentation good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
JheysonJhordyHuarauyaRiquelme/sprocguard#18 ·
Los mantenedores suelen responder en 1 día
-
enhancement good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
dlq/synthpopcan#59 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
mdn/translated-content#40220 ·
Los mantenedores suelen responder en 4 días
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
ETSInitiative/PETSIRD#243 ·
Los mantenedores suelen responder en 1 día
-
deferred p2
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
cuadrao-ai/argus#2160 ·
Los mantenedores suelen responder en 1 día