Ruff ignore list is too long
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
- 35/100
Línea de trabajo
Start with the Ruff ignore list in pyproject.toml and check which ignored rules currently flag the project. The goal is to reduce the list; confirm the changes against the project's linting setup and ensure the existing code still passes.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
From pyproject.toml ...
ignore = [
"E501", # Line too long (formatter handles this)
"E402", # Module level import not at top of file (common with conditional imports)
"E721", # Type comparisons (isinstance is not always better)
"E722", # Bare except (TODO: fix these gradually)
"E731", # Lambda assignments (sometimes clearer than def)
"B007", # Unused loop variable (often intentional)
"B011", # assert False (used as unreachable markers)
"B018", # Useless expression (often intentional in tests)
"B026", # Star-arg after keyword (legacy pattern)
"B028", # stacklevel in warnings (not critical)
"B904", # raise from (TODO: fix gradually)
"F401", # Unused imports (many are for re-export or conditional)
"F403", # Star imports (legacy, TODO: fix gradually)
"F821", # Undefined names (often in TYPE_CHECKING blocks or docstrings)
"F841", # Unused variables (often intentional, e.g. unpacking)
"UP007", # Optional[X] vs X | None (used in try/except for backwards compat)
"UP008", # super() style (existing code uses explicit form)
"UP031", # %-format (existing code uses it extensively)
"UP036", # Outdated version blocks (will clean up when dropping old Python)
"UP045", # X | None vs Optional (both are fine)
]
We should try to reduce this. A shame I forgot about it before the v3.0-release.
- Lenguaje dominante
- Python
- Estrellas
- 412
- Forks
- 113
- Merge medio
- 10 h 29 min
- PR fusionados (30 d)
- 57
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin 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 python-caldav/caldav
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
python-caldav/caldav#792 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
python-caldav/caldav#788 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
python-caldav/caldav#687 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 75/100
python-caldav/caldav#796 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
python-caldav/caldav#784 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de python-caldav/caldav
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
khuisman/mcp-gee-sweet#1166 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
lugassawan/swe-workbench#823 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
gramaziokohler/compas_timber#870 ·
-
security-scan-failure
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
semantica-agi/semantica#2089 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
autowarefoundation/autoware_carla_scenario#500 ·
Los mantenedores suelen responder en 1 día