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

Open
#899 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@sethfitz is already working on this.

Since Dec 5, 2026.

  • #900 by @sethfitz — open

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
github-actions, python
Domain
ci-cd, testing-qa

Research direction

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.

Written by the indexing model from the issue text.

Description

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

Dominant language
Python
Stars
219
Forks
20
Avg merge
1d 21h
Merged PRs (30d)
37

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from OvertureMaps/schema

All issues in OvertureMaps/schema

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.