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

Added typing hints to dark/process.py. Added a test to windowedIdentity. #803

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

Conversation

terrycojones
Copy link
Member

No description provided.

Copy link
Collaborator

@imLew imLew left a comment

Choose a reason for hiding this comment

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

Only minor nitpicks

Comment on lines +32 to +33
@property
def dryRun(self) -> bool:
Copy link
Collaborator

Choose a reason for hiding this comment

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

You say my properties are idiosyncratic... why do you keep this method as a property that just returns an attribute?

Comment on lines +46 to +47
stdout: Optional[Union[bool, TextIO, StringIO]] = False,
stderr: Optional[Union[bool, TextIO, StringIO]] = False,
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would remove the bool and change the default to None, it seems unnecessary to have two false-y values meaning the same thing.

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