Skip to content

chore: enable mypy testing #1057

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

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

chore: enable mypy testing #1057

wants to merge 9 commits into from

Conversation

daniel-sanche
Copy link
Contributor

@daniel-sanche daniel-sanche commented May 22, 2025

This PR enables mypy type checking, so we can validate consistent types across the library. It also includes small changes to get type validation to pass

Over time, we can add typing to more areas, and make sure any changes pass the mypy check

Fixes: #900

@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: firestore Issues related to the googleapis/python-firestore API. labels May 22, 2025
@daniel-sanche daniel-sanche marked this pull request as ready for review May 23, 2025 21:32
@daniel-sanche daniel-sanche requested review from a team as code owners May 23, 2025 21:32
@daniel-sanche daniel-sanche enabled auto-merge (squash) May 23, 2025 21:32
@cindy-peng
Copy link
Contributor

cindy-peng commented May 23, 2025

Looks like one more type validation needs to be fixed: https://github.com/googleapis/python-firestore/actions/runs/15219606300/job/42812618562?pr=1057

cindy-peng
cindy-peng previously approved these changes May 23, 2025
@daniel-sanche
Copy link
Contributor Author

Looks like one more type validation needs to be fixed: https://github.com/googleapis/python-firestore/actions/runs/15219606300/job/42812618562?pr=1057

Thanks, it looks like upstream brought in a new type to fix! Should be fixed now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: firestore Issues related to the googleapis/python-firestore API. size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Types for base_query.py
3 participants