A simple autolinter, in the spirit of auto-flake8, auto-pep8, that will take all the constants, and uppercased varialbes in a function/class, and move them all to one module (defaulting to constants.py) and then update all the references.
This would be great for refactoring, where you need to isolate some things to get a handle on really awful spaghetti code.
A simple autolinter, in the spirit of auto-flake8, auto-pep8, that will take all the constants, and uppercased varialbes in a function/class, and move them all to one module (defaulting to constants.py) and then update all the references.
This would be great for refactoring, where you need to isolate some things to get a handle on really awful spaghetti code.