-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
STY: Underscores for long numbers #30397
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
STY: Underscores for long numbers #30397
Conversation
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.
A single issue, else good.
[ | ||
946_688_461_000_000_000 / 1_000_000_000.0 + 0.5, | ||
dict(unit="s", us=500000), | ||
], |
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.
IMO these don't improve legibility compared to the old ones. I'd prefer the old way to keep a single line per parameter.
01fc0b5
to
baef48d
Compare
Hello @MomIsBestFriend! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2019-12-22 12:18:12 UTC |
baef48d
to
0d7540b
Compare
Thanks, @MomIsBestFriend |
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff