Skip to content

Pin version of black and reformat files to match#792

Merged
michaeljones merged 3 commits intomasterfrom
black
Feb 6, 2022
Merged

Pin version of black and reformat files to match#792
michaeljones merged 3 commits intomasterfrom
black

Conversation

@michaeljones
Copy link
Copy Markdown
Collaborator

Hopefully this'll resolve the issue you were seeing @vermeeren. I'm sorry for adding an unpinned version to begin with.

We want to check the formatting but we don't want it to randomly fail CI
if black has released a new version that makes different choices.

Though it has recently be declared stable so I think there is less of a
chance of that.
It seems to be mostly removing u's from string. Possibly due to Python
2.7 being long dead and it doing nothing much in Python 3 (as far as I
understand.)
Hopefully we shouldn't have that issue again. If we do it will represent
a meaningful failure.

I'm happy to roll this back if we're concerned it'll get in the way.
@michaeljones
Copy link
Copy Markdown
Collaborator Author

Seems to be failing on Python 3.6 (I assume it is that 3.6) so I've made #796 to remove it from the matrix as Python 3.6 has been end-of-lifed.

@michaeljones
Copy link
Copy Markdown
Collaborator Author

It wasn't Python 3.6 it was the reference to Sphinx 4.3.x but we've rebased so that is no longer an issue.

@michaeljones michaeljones merged commit 4f502ea into master Feb 6, 2022
@vermeeren vermeeren deleted the black branch February 13, 2022 23:19
@vermeeren
Copy link
Copy Markdown
Collaborator

@michaeljones Thanks again for the fix.

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.

2 participants