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

style(type): make pyright stricter #2052

Merged
merged 3 commits into from
Dec 18, 2024
Merged

style(type): make pyright stricter #2052

merged 3 commits into from
Dec 18, 2024

Conversation

lengau
Copy link
Collaborator

@lengau lengau commented Dec 17, 2024

This bumps two pyright warnings to errors and fixes those errors

@lengau lengau force-pushed the work/stricter-pyright branch from 3f64582 to d1e604b Compare December 17, 2024 23:40
@lengau lengau enabled auto-merge December 18, 2024 00:56
@lengau lengau requested a review from a team December 18, 2024 00:56
@lengau lengau force-pushed the work/stricter-pyright branch from 0095972 to d1e604b Compare December 18, 2024 01:31
@@ -70,13 +70,13 @@ def run(self, parsed_args: argparse.Namespace) -> int:
return self._run_formatted(parsed_args.filepath, ignore=ignore)
return self._run_streaming(parsed_args.filepath, ignore=ignore)

def _run_formatted(self, filepath: pathlib.Path, *, ignore=Container[str]) -> int:
def _run_formatted(self, filepath: pathlib.Path, *, ignore: Container[str]) -> int:
Copy link
Contributor

Choose a reason for hiding this comment

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

😆

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

🙃

@tigarmo tigarmo requested a review from a team December 18, 2024 12:17
@lengau lengau added this pull request to the merge queue Dec 18, 2024
Merged via the queue into main with commit 8362b5e Dec 18, 2024
54 checks passed
@lengau lengau deleted the work/stricter-pyright branch December 18, 2024 14:46
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.

3 participants