https://github.com/steder/nato
https://github.com/steder/nato
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/steder/nato
- Owner: steder
- License: mit
- Created: 2019-02-08T17:39:16.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-08T17:39:47.000Z (about 6 years ago)
- Last Synced: 2025-03-13T09:57:47.897Z (about 2 months ago)
- Language: Python
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE.txt
Awesome Lists containing this project
README
NATO
-------------------One letter variables thoughtlessly strewed about a codebase annoyed a colleague and an idle thought became this poorly named project.
Uses the AST (and some cool projects like `Astor` and `codegen.py`) to quickly mangle / transform your code.
Why not just rename the variable and be done with it?
=========================================================
Excellent question! It's fun to play at the A.S.T.!Example usage
===================..::
$ python -m nato somefile.py > one_letter_variable_free.py