-
Notifications
You must be signed in to change notification settings - Fork 2
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
Upgrade celery, Black #286
Conversation
model_name="venue", name="name", field=models.CharField(max_length=255, null=True), | ||
model_name="venue", | ||
name="name", | ||
field=models.CharField(max_length=255, null=True), |
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.
new black splits into lines if we have trailing commas, otherwise tries to one line.
old black tried to one line and added trailing commas.
To make things look similar for most files where we had one line previously I deleted the trailing comma and reformatted but I ignored for migration files.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #286 +/- ##
=======================================
Coverage 90.66% 90.66%
=======================================
Files 61 61
Lines 2604 2604
=======================================
Hits 2361 2361
Misses 243 243 ☔ View full report in Codecov by Sentry. |
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.
One comment. Also after this is merged in we should remind everyone to update their environment
backend/Pipfile
Outdated
@@ -4,7 +4,7 @@ url = "https://pypi.org/simple" | |||
verify_ssl = true | |||
|
|||
[dev-packages] | |||
black = "==19.10b0" | |||
black = "*" |
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.
can we fix the black version here?
Upgrade black to upgrade celery. Also got really annoyed by the dependency stuff depending on old click figured it was prolly time anyway.
Minimal changes to actual files (mostly migration file)
We can set up later something to ignore blame on this commit
https://www.stefanjudis.com/today-i-learned/how-to-exclude-commits-from-git-blame/