Open christophehenry opened 1 month ago
I won't add configuration for which files to run on. I don't believe it's productive for every tool to rebuild their own custom globbing and recursion logic.
But yes, configuring the target version would be neat. There's an idea in django-upgrade to support parsing the target version from dependencies in pyproject.toml
( https://github.com/adamchainz/django-upgrade/issues/322 ). If we can figure that out, it would be worth adding here.
Description
Current usage is
djade --target-version 5.1 templates/**/*.html
. It would be awesome ifdjade
could be configured inpyproject.toml
like so: