high-magician-46188
10/04/2023, 9:11 AMpyupgrade
plugin: Can I set a different target version on some sections somehow?
In my repo, some projects are Python 3.9+, some are 3.10+, and some are 3.11-only.
Ideally, I'd like to set a specific Python version per project (or even petter, that the project.requires-python
of each pyproject.toml
will be picked-up automatically.
Thanks ๐high-magician-46188
10/04/2023, 9:11 AMenough-analyst-54434
10/04/2023, 1:34 PMhigh-magician-46188
10/04/2023, 2:56 PMpyproject.toml
parsing util I can take a look at?
Specifically, I'll need to parse the python-requires = "..."
part.enough-analyst-54434
10/04/2023, 3:03 PMhigh-magician-46188
10/04/2023, 3:29 PM