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

Aperta
#899 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@sethfitz ci sta già lavorando.

Dal 5/12/2026.

  • #900 di @sethfitz — aperta

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
github-actions, python
Ambito
ci-cd, testing-qa

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

  • 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.

Lingua principale
Python
Stelle
219
Fork
20
Merge medio
1g 21h
PR unite (30g)
37

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OvertureMaps/schema

Tutte le issue di OvertureMaps/schema

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.