-
Notifications
You must be signed in to change notification settings - Fork 54
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
Update black integration to say what is wrong and fix python versions #362
Update black integration to say what is wrong and fix python versions #362
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## RC_v1.5.x #362 +/- ##
=============================================
+ Coverage 56.35% 56.68% +0.33%
=============================================
Files 16 19 +3
Lines 3384 3426 +42
=============================================
+ Hits 1907 1942 +35
- Misses 1477 1484 +7
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
Interesting that when we add specific versions, |
Interesting, I'm not sure why previous formatting jobs haven't caught these issues |
Yes when you run just |
Yeah, that seems cumbersome. I am having similar issues with another coding project where it seems like black does the formatting differently for the same version of black in combination with different python versions which lets me believe that the formatter is not so strict. But on the other hand, this causes the checks to fail so it is weird that it would be strict on the checking end of things while not being strict on the formatting itself. Let me have a more detailed look into this and find out if this is really the intended behavior. |
Okay, the specific issue it's cluing in on here is adding an extra comma after |
Looks good to me, thanks for these changes, @freemansw1! |
Co-authored-by: Julia Kukulies <[email protected]>
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.
Looks good, happy for this to be merged
Coming from a frustrating experience developing #354, update our black integration to specify what it would change and also set the versions to ensure compatibility. We will need to update this file when we bump versions (on either end).