chore: adopt ruff for linting, formatting and import sorting
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 64/100
- Tipo de issue
- Refactorización
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- python
- Área
- ci-cd, documentation, tooling
Línea de trabajo
Empieza leyendo la configuración existente de [tool.black] en pyproject.toml, el Pipfile, .github/workflows/ y CONTRIBUTING.md. Ejecuta los comandos solicitados ruff check --fix y ruff format, manteniendo sus cambios mecánicos separados de las correcciones manuales. Se considera terminado cuando Ruff sustituya a Black, CI ejecute ambas comprobaciones y se actualicen los comandos para contribuidores.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
The project currently uses black (pyproject.toml's [tool.black], black in the Pipfile) and
has no lint or import-sorting step. Ruff covers all three in one
fast tool: ruff check for linting (including isort-style import sorting via the I rules) and
ruff format as a black-compatible formatter.
Tasks
- Add ruff configuration in
pyproject.toml: the default rule set plusI(import sorting), with
target-versionmatching the supported Python floor. - Run
ruff check --fixandruff format; keep the mechanical changes in their own commit,
separate from any manual fixes they surface. - Replace black with ruff in the
Pipfile/dev tooling, and add a CI step under
.github/workflows/runningruff checkandruff format --check. - Update
CONTRIBUTING.mdwith the new commands.
This also covers import sorting, which was previously tracked as its own issue.
- Lenguaje dominante
- Python
- Estrellas
- 167
- Forks
- 47
- Merge medio
- 2 d 9 h
- PR fusionados (30 d)
- 12
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- 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 StackGuardian/tirith
-
good first issue hacktoberfest tests
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
StackGuardian/tirith#381 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
research
Dificultad 1/5 1-3 horas Aptitud para principiantes 78/100
StackGuardian/tirith#356 ·
Los mantenedores suelen responder en 1 día
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
StackGuardian/tirith#302 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
StackGuardian/tirith#299 ·
Los mantenedores suelen responder en 1 día
-
fix(providers): dotted keys are addressable from terraform_plan but not from json/kubernetesAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
StackGuardian/tirith#295 ·
Los mantenedores suelen responder en 1 día
Todos los issues de StackGuardian/tirith
Issues similares
-
needs-human needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
gke-labs/kube-agents#2400 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Device Details tables: FS/SF columns contradict each other (nfet_01v8 Vt row, pfet_01v8 Idsat row)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
google/skywater-pdk#450 ·
-
Drained trajectory arrays are overwritten when the sequence buffer is reusedPosiblemente ocupada @sylvesterkaczmarek la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
google-deepmind/bsuite#56 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
LearningCircuit/local-deep-research#7206 ·
Los mantenedores suelen responder en 1 día
-
[TASK] Document technology stackAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
chingu-voyages/V62-tier3-team-33#285 ·
Los mantenedores suelen responder en 1 día