Skip to content
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

Fix pre-commit hook failing because of black #11737

Merged
merged 2 commits into from
Apr 5, 2022
Merged

Conversation

Phlair
Copy link
Contributor

@Phlair Phlair commented Apr 5, 2022

What

See this issue and this PR.

I've just updated the black version in the pre-commit hook to match the upgrade done there.

@Phlair Phlair requested a review from alafanechere April 5, 2022 20:35
.pre-commit-config.yaml Outdated Show resolved Hide resolved
@@ -7,8 +7,8 @@ repos:
hooks:
- id: licenseheaders
args: ["--tmpl=LICENSE_SHORT", "--ext=py", "-f"]
- repo: https://github.com/ambv/black
rev: 22.1.0
- repo: https://github.com/psf/black
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no context and am just curious: why did we switch maintainers? A quick look at both GitHub pages didn't give me a clear answer

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://github.com/ambv/black is now redirecting to https://github.com/psf/black so it's not an actual maintainer switch, arguably unnecessary but just for clarity.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool. Cool cool cool. thanks for the context

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.

3 participants