Reblogged by keul@fosstodon.org ("Luca Fabbri"):
hynek ("Hynek Schlawack") wrote:
Lately, I’ve seen many #Python projects who use Black and/or Ruff set their target versions manually.
❌ You don't have to do that! ❌
If you use a pyproject.toml , they both interpret your project.require-python key.
If it says `>=3.8`, they will format/upgrade for 3.8+ etc. Hooray for standards paying off!