Skip to content
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

Start requiring pyright typechecking #619

Merged
merged 2 commits into from
Aug 26, 2024
Merged

Start requiring pyright typechecking #619

merged 2 commits into from
Aug 26, 2024

Conversation

dandavison
Copy link
Contributor

@dandavison dandavison commented Aug 24, 2024

Ref #420
Start requiring pyright to pass in poe lint / CI. At this commit it passes because some files are excluded. Subsequent PRs will fix pyright type violations in files and reduce the exclusion list.

@dandavison dandavison requested a review from a team as a code owner August 24, 2024 22:08
@dandavison dandavison force-pushed the pyright branch 2 times, most recently from 5742b1e to 7dcfbda Compare August 24, 2024 22:51
@@ -174,6 +176,41 @@ privacy = [
project-name = "Temporal Python"
sidebar-expand-depth = 2

[tool.pyright]
Copy link
Member

@cretz cretz Aug 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a lot of excluded files. Are we sure we don't want to solve even some of them here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I'd like to keep this PR focused on the infrastructure, and subsequent PRs focused on actual type checking considerations.

@dandavison dandavison merged commit 927abdc into main Aug 26, 2024
12 checks passed
@dandavison dandavison deleted the pyright branch August 26, 2024 13:03
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