bashlex
bashlex copied to clipboard
Refactoring class names
I was just grazing through the code and found that lot of class name in ast.py is in small letters. In PEP8, class names have CapWords. Just wanted to ask if this was intentional. If not, I can submit a PR for the fix.
It's a style I got used to when working on Mercurial (another Python project). I don't think I've tried running the code against a linter, there are probably many more "violations".
I'm not opposed to fixing these but in particular function/class names are tricky because we'd have to alias the old names to stay backward compatible, all in all not worth it in my opinion.
Refactoring tools do help a lot in these cases. I'll try doing them and depending on the ROI create a PR.
Thanks.