[BUG](ci) `main` fails `make check` on unused `type: ignore` comments
Maintainers usually reply within 1 day
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:452packages/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
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OvertureMaps/schema
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
OvertureMaps/schema#867 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
OvertureMaps/schema#694 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
OvertureMaps/schema#693 ·
Maintainers usually reply within 1 day
-
chore
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
OvertureMaps/schema#675 ·
Maintainers usually reply within 1 day
-
[DOCS](packages) StrEnum changelog entries name a migration that does not give `Class.MEMBER`Possibly taken @sethfitz claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 38/100
OvertureMaps/schema#896 ·
Maintainers usually reply within 1 day
All issues in OvertureMaps/schema
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
521xueweihan/HelloGitHub#4729 ·
-
auto-reported bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
needs-triage type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
pollen-robotics/reachy_mini_conversation_app#631 ·
Maintainers usually reply within 7 days
-
stix-atlas.json: the same relationship id is used for several different mitigates relationshipsOpen
Difficulty 2/5 1-3 hours Newbie friendliness 76/100