Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Ruff ignore list is too long

Abierto
#634 2 comentarios 0 reacciones 0 asignados Ver en GitHub

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
Tipo de issue
Refactorización
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
python
Área
tooling

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

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de python-caldav/caldav

Todos los issues de python-caldav/caldav

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.