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

chore: minor cleanup #1475

Merged
merged 2 commits into from Apr 18, 2023
Merged

chore: minor cleanup #1475

merged 2 commits into from Apr 18, 2023

Conversation

henryiii
Copy link
Contributor

Adding a bit of cleanup from looking at #1297 again. Drops the unmaintained [mypy] extra.

  • chore: clean up mypy a little bit
  • chore: clean up pylint/black a bit

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
@@ -256,6 +256,7 @@ def build(self, options: Options, tmp_path: Path) -> None:
...


# pylint: disable-next=inconsistent-return-statements
def get_platform_module(platform: PlatformName) -> PlatformModule:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

FYI, I think the need for RET 503 below might be a bug in Ruff: astral-sh/ruff#3304

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's been fixed, the noqa can go away in the next Ruff release :)

@henryiii henryiii merged commit 440e18c into pypa:main Apr 18, 2023
23 checks passed
@henryiii henryiii deleted the henryiii/chore/cleanup2 branch April 18, 2023 13:06
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.

None yet

2 participants