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

オープン
#899 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@sethfitz がすでに取り組んでいます。

2026年12月5日 から。

  • #900 @sethfitz による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
github-actions, python
領域
ci-cd, testing-qa

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Python
スター
219
フォーク
20
平均マージ
1日 21時間
マージ済み PR(30日)
37

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

OvertureMaps/schema のほかの issue

OvertureMaps/schema の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。