3 ms·
For a purely mechanical change like this, someone could run black against the same revision of Django and verify the changes they see locally match the changes
by sciurus 5y ago
For a purely mechanical change like this, someone could run black against the same revision of Django and verify the changes they see locally match the changes in this PR.
- ibejoeb 5y agoThat's true as long as the results are predictable and reproducible. I don't happen to know if Black is, and it's not apparent from the documentation. Update: Found it: > How stable is Black’s style? > Starting in 2022, the formatting output will be stable for the releases made in the same year https://black.readthedocs.io/en/stable/faq.html https://black.readthedocs.io/en/stable/faq.html
- Bedon292 5y agoThe same version of black, with the same settings, will always produce the same results from the same input code. Definitely re-producible. That question is about how stable the formatting is from version to version. Which is now more stable, and why Django finally made the move.