Skip to content

python scripts: enable standard type checking #14321

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 2, 2025

Conversation

rmuir
Copy link
Member

@rmuir rmuir commented Mar 2, 2025

Fix all the type issues, enable checking so that no more creep in.

A couple third-party libraries have some issues (such as totally wrong typing), I just disabled in that case.

Fixes are mostly basic stuff such as adding missing null checks, occasional cast or type-hint.

Fix all the type issues, enable checking so that no more creep in.

A couple third-party libraries have some issues (such as totally wrong
typing), I just disabled in that case.

Fixes are mostly basic stuff such as adding missing null checks,
occasional cast or type-hint.
@rmuir
Copy link
Member Author

rmuir commented Mar 2, 2025

After this PR, i'd like to run make reformat and create PR with the result. The mix of 2-space and 4-space indentation is killing me :)

@rmuir rmuir merged commit 9e3f14e into apache:main Mar 2, 2025
8 checks passed
rmuir added a commit that referenced this pull request Mar 2, 2025
Fix all the type issues, enable checking so that no more creep in.

A couple third-party libraries have some issues (such as totally wrong typing), I just disabled in that case.

Fixes are mostly basic stuff such as adding missing null checks, occasional cast or type-hint.
hanbj pushed a commit to hanbj/lucene that referenced this pull request Mar 12, 2025
Fix all the type issues, enable checking so that no more creep in.

A couple third-party libraries have some issues (such as totally wrong typing), I just disabled in that case.

Fixes are mostly basic stuff such as adding missing null checks, occasional cast or type-hint.
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