[BUG](ci) `main` fails `make check` on unused `type: ignore` comments

Abierto
#899 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

@sethfitz ya está trabajando en esto.

Desde el 5/12/2026.

  • #900 de @sethfitz — abierto

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Estancado
Stack tecnológico
github-actions, python
Área
ci-cd, testing-qa

Línea de trabajo

Start by reading the unused-ignore reports in packages/overture-schema-cli/tests/test_cli_functions.py and packages/overture-schema-system/tests/field_constraint/test_string_constraints.py, then run make check to reproduce the failure. The relevant change is to remove or adjust only the reported type: ignore comments and verify that make check passes in every matrix cell. A linked pull request already exists, so confirm its status before taking ownership.

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

Descripción

  • Type: Bug
  • Scope: Multi-theme or Platform
  • Skillset: engineering

Description

The "Check Python package code" workflow, which runs make check, fails on main at 4a2b2f04 in every matrix cell. Pull requests that merge with that commit fail its required summary check, "All Python checks pass".

mypy reports Unused "type: ignore" comment [unused-ignore] at:

  • packages/overture-schema-cli/tests/test_cli_functions.py:452
  • packages/overture-schema-system/tests/field_constraint/test_string_constraints.py, lines 208, 272, 274 and 306

The CI log names only the first, because make mypy-only stops at the first directory that fails.

#860 turned on warn_unused_ignores. Its last CI run was against a main that did not yet include #837 or #889, which added these comments, and neither of those ran with the setting. The required status checks do not require a branch to be up to date before it merges.

Done when make check on main passes in every matrix cell.

Lenguaje dominante
Python
Estrellas
219
Forks
20
Merge medio
1 d 21 h
PR fusionados (30 d)
37

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 OvertureMaps/schema

Todos los issues de OvertureMaps/schema

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.