Closed dazza-codes closed 9 months ago
In https://github.com/asottile/pyupgrade/blob/main/tests/main_test.py is uses a private pyupgrade._main()
entry point. Must it be private? Is there no public API to run it programmatically? Is it preferred to run it as a CLI, MUST it be run as a CLI (e.g. subprocess.run
)
there intentionally is not. there are duplicates please search next time
Is there a python API to call pyupgrade? The project README doesn't document one (unless I missed it).