-
Notifications
You must be signed in to change notification settings - Fork 88
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
Changes to black formatting #149
Comments
Ah, just getting eyes on this. We added a |
So for any people (4.2M users) using this extension it's important to change the default setting: |
I will remove/modify PR #152 and resubmit it without all the gratuitous format changes. |
I'm trying to now commit the properly blacked files, and the pre-commit hooks kicked in (good thing) but now I can't commit (bad thing):
I don't see any I tried adding to
but there was no change in The I've not used pre-commits or |
I'm getting the same issue as you are when I try to commit the changes in PR 152 to a branch, a spew about star imports and the like. I generally haven't had this issue in the past, I'm not sure what has changed. I'm investigating now. |
I think what's happened is that we added this |
For those who actually did the pre-commit install you still need to uninstall
before you nuke the Just removing the file, without uninstalling doesn't fix the problem. |
Could one of the BDAI crew apply all the outstanding PRs and then run black 23.10 on the whole repo. It'll make life a whole lot easier for devs. |
Yes, I will give it a shot. |
I've noticed that
black
on my system is folding lines differently to what is in the repo, despite that also being formatted byblack
.For example in
base/vectors.py
line 622 wasbut
black
now formats it likeThere's a discussion about this here. I'm using 24.8.0 from Aug 2024. TBH I like the new format better, but this is going to throw a lot cosmetic noise into the commits which is annoying -- the whole point of
black
was supposed to be stability and inflexibility.Would appreciate discussion on this. I think there are only 2 options:
The text was updated successfully, but these errors were encountered: