[pre-commit.ci] pre-commit autoupdate#732
Conversation
updates: - [github.com/psf/black-pre-commit-mirror: 25.12.0 → 26.1.0](psf/black-pre-commit-mirror@25.12.0...26.1.0)
for more information, see https://pre-commit.ci
|
ugh so this is kinda bad. Black seems to have decided that the correct number of empty lines after imports is 1 is wrong and clashes with our isort config. Unless they reconsider, I recommend switching to Ruff which I'm sure will have an option for this. |
67506ca to
c7702be
Compare
|
So small update: I was gonna admit defeat as the only person caring about this style but unfortunately, switching isort to one line after imports triggers flake8's E302. So it looks like there's no way to have empty lines enforcement and black at the same time? I'm really, really, really sad about all this and reaching out through my backchannels did nothing so unless anyone has a better idea, I'll open a PR switching to Ruff. |
6aa5dcd to
baff743
Compare
|
based on @itamarst's suggestion on Mastodon I've just killed the flake8 switch and this is ready for review |
updates: