- 
                Notifications
    You must be signed in to change notification settings 
- Fork 71
Adding formatting checks #615
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
Conversation
| return False, "" | ||
|  | ||
| output_lines = '\n'.join( | ||
| output_lines = "\n".join( | 
There was a problem hiding this comment.
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.
| 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." | 
There was a problem hiding this comment.
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 😄
| description="Identify packages with a linked GitHub repository " | ||
| "where the package has extra unexpected files", | 
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
Adding black for formatting