Skip to content

Conversation

@Fokko
Copy link
Contributor

@Fokko Fokko commented Nov 7, 2025

Weirdly, this also showed some new issues:

mypy.....................................................................Failed
- hook id: mypy
- exit code: 1
  mkdocs/gen_doc_stubs.py:20: error: Unused "type: ignore" comment  [unused-ignore]
  mkdocs/gen_doc_stubs.py:21: error: Unused "type: ignore" comment  [unused-ignore]
  tests/utils/test_manifest.py:51: error: "Callable[[FileIO, str], tuple[ManifestFile, ...]]" has no attribute "cache_clear"  [attr-defined]
  tests/conftest.py:101: error: Unused "type: ignore" comment  [unused-ignore]
  Found 4 errors in 3 files (checked 166 source files)

Rationale for this change

Are these changes tested?

Are there any user-facing changes?

Weirdly, this also showed some new issues:

```
mypy.....................................................................Failed
- hook id: mypy
- exit code: 1
  mkdocs/gen_doc_stubs.py:20: error: Unused "type: ignore" comment  [unused-ignore]
  mkdocs/gen_doc_stubs.py:21: error: Unused "type: ignore" comment  [unused-ignore]
  tests/utils/test_manifest.py:51: error: "Callable[[FileIO, str], tuple[ManifestFile, ...]]" has no attribute "cache_clear"  [attr-defined]
  tests/conftest.py:101: error: Unused "type: ignore" comment  [unused-ignore]
  Found 4 errors in 3 files (checked 166 source files)
```
@Fokko Fokko mentioned this pull request Nov 7, 2025
@kevinjqliu
Copy link
Contributor

thought ignore_missing_imports was left by mistake, just put it back :)

@kevinjqliu kevinjqliu merged commit e759044 into apache:main Nov 7, 2025
8 checks passed
@Fokko Fokko deleted the fd-ignore-on-global-level branch November 7, 2025 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants