Tool for changing python print statements into logging module invocations. Automatically adds the appropriate imports.
Implemented by wrapping lib2to3, hence some oddities.
$ pip install use_logging
$ use_logging -w my_project/*.py
https://docs.python.org/2/library/2to3.html
-
Any more tests?
-
Rest of stuff in https://github.com/vitorbaptista/pyconuk_helloworld (bandit, manifest/+check)