Skip to content

Conversation

@sobregosodd
Copy link
Contributor

Adding black for formatting

return False, ""

output_lines = '\n'.join(
output_lines = "\n".join(
Copy link
Contributor

Choose a reason for hiding this comment

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

This is irritating tbh. Single quotes for single chars is totally acceptable.

Comment on lines +63 to +70
f"The domain name of the maintainer's email address ({email}) was"
" re-registered after"
" the latest release of this "
"package. This can be an indicator that this is a"
" custom domain that expired, and was leveraged by"
" an attacker to compromise the"
f" package owner's {self.ecosystem}"
" account."
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this like this 😄

Comment on lines +15 to +16
description="Identify packages with a linked GitHub repository "
"where the package has extra unexpected files",
Copy link
Contributor

Choose a reason for hiding this comment

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

This looks bad, I think it should enclose the substrings in () if it's gonna break them up like this.

Copy link
Contributor

Choose a reason for hiding this comment

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

don't you miss cargo format?

@sobregosodd sobregosodd merged commit ae922f8 into main Oct 2, 2025
11 checks passed
@sobregosodd sobregosodd deleted the s.obregoso/improve_formating branch October 2, 2025 12:37
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.

4 participants