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

Get username from PR to use in google-readability-todo #106

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

bwrsandman
Copy link
Contributor

@bwrsandman bwrsandman commented Jan 16, 2024

Improves the recommendation for google-readability-todo by providing a proper name which would previously be TODO(docker) or TODO(unknown).

If for whatever reason, the name cannot be found, it will default to TODO(your name here).

Closes #102 without the need for a new parameter.

Note that I think using env in subprocess also kill all env leaking into the call for subprocess.run. Hopefully no one relies on that.

Improves the recommendation for `google-readability-todo` by providing a
proper name which would previously be `TODO(docker)` or `TODO(unknown)`.

If for whatever reason, the name cannot be found, it will default to
`TODO(your name here)`.

Implements ZedThree#102 without the need for a new parameter.
Copy link
Owner

@ZedThree ZedThree left a comment

Choose a reason for hiding this comment

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

Lovely, thanks @bwrsandman !

@ZedThree ZedThree merged commit 6894fd3 into ZedThree:master Jan 17, 2024
1 check passed
@bwrsandman bwrsandman deleted the todo-username branch January 17, 2024 12:59
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.

PR login name for google-readability-todo
2 participants