Enable B905 (zip-without-explicit-strict) linting rules
Los mantenedores suelen responder en 3 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 65/100
Línea de trabajo
The issue references PR #6904 which enabled flake8-bugbear but excluded rule B905. First, locate the linting configuration (likely .ruff.toml or pyproject.toml) to see the current exclusions. Then, find all instances of zip() calls in the codebase flagged by B905, review each to decide whether strict=True or strict=False is appropriate, and update them accordingly. Run the linter to verify the changes.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
https://github.com/mozilla/bugbug/pull/6904#discussion_r4066628444
PR #6904 enables most of flake8-bugbear ("B"), but excludes B905 (zip() without explicit strict=). The autofix defaults every flagged call to strict=False, which just preserves old behavior — but per @suhaibmujahid's review, each site should be reviewed individually, since strict=True is usually the better choice unless strict=False is intentionally needed.
- Lenguaje dominante
- Python
- Estrellas
- 570
- Forks
- 351
- Merge medio
- 2 d 2 h
- PR fusionados (30 d)
- 73
Preparar el entorno
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 mozilla/bugbug
-
hackbot
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
mozilla/bugbug#6947 · 1 asignado ·
Los mantenedores suelen responder en 3 días
-
good-first-bug hackbot
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 3 días
-
good-first-bug hackbot
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
mozilla/bugbug#6918 · 5 comentarios ·
Los mantenedores suelen responder en 3 días
-
good-first-bug hackbot
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 3 días
Todos los issues de mozilla/bugbug
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-2 días Aptitud para principiantes 70/100
-
FingerprintSplitter raises ZeroDivisionError when int(frac_train * len(dataset)) floors to zeroAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 7 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
lmstudio-ai/mlx-engine#376 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
pyiron/bagofholding#166 ·