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

Extend ASYNC401 to other forms

Abierto
#475 1 comentario 1 reacción 0 asignados Ver en GitHub

@anshurajbisoyi98-ctrl ya está trabajando en esto.

Desde el 2/10/2026.

  • #476 de @anshurajbisoyi98-ctrl — abierto

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
68/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python
Área
tooling

Línea de trabajo

Start by locating the ASYNC401 implementation and its tests in the repository. Compare the rule's handling of the listed pytest.raises, pytest.RaisesExc, pytest.RaisesGroup, and pytest.mark.xfail forms, then update coverage so the equivalent ExceptionGroup usages are reported as described.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

I was looking at implementing ASYNC401 in Ruff and noticed that there are a couple forms that the rule here doesn't capture but arguably should.

  • pytest.mark.xfail(raises=ExceptionGroup) could be pytest.mark.xfail(raises=pytest.RaisesGroup(...))
  • pytest.RaisesGroup(ExceptionGroup) could be pytest.RaisesGroup(pytest.RaisesGroup(...))
  • pytest.raises(ExceptionGroup[Exception]) and pytest.RaisesExc(ExceptionGroup) are ignored even though they are equivalent to pytest.raises(ExceptionGroup)

Would there be interest in updating the rule to report on the usages above as well?

Lenguaje dominante
Python
Estrellas
26
Forks
10
Métricas de merge de PR
Sin PR fusionados en 30 d

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-trio/flake8-async

Todos los issues de python-trio/flake8-async

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.