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

Applied safe linting suggestions #2155

Open
wants to merge 1 commit into
base: Dev
Choose a base branch
from

Conversation

giftinglass
Copy link

No description provided.

@fenhl fenhl added the Trivial Affects only spacing, style, and/or comments label Dec 23, 2023
Copy link
Collaborator

@fenhl fenhl left a comment

Choose a reason for hiding this comment

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

These are some nice code style improvements, thank you!

@@ -1,7 +1,7 @@
from __future__ import annotations
import random
import sys
from collections.abc import Callable, Sequence
from collections.abc import Sequence
Copy link
Collaborator

Choose a reason for hiding this comment

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

Upon re-reviewing, I noticed that you removed this import which is used in type aliases in lines 19 and 20. We should probably run a type checker as part of CI to catch errors like this. There may be other similar ones in this PR, haven't gone through everything yet.

@fenhl fenhl added Status: Waiting for Author Changes or response requested Status: Needs Review Someone should be looking at it Status: Needs Testing Probably should be tested Status: Blocked Waiting for something else to happen first Type: Maintenance Code style, infrastructure, updating dependencies and removed Trivial Affects only spacing, style, and/or comments labels Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Blocked Waiting for something else to happen first Status: Needs Review Someone should be looking at it Status: Needs Testing Probably should be tested Status: Waiting for Author Changes or response requested Type: Maintenance Code style, infrastructure, updating dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants