Eklavya Sharma
be0a4f349d
Apply Python 3 futurize transform libmodernize.fixes.fix_filter.
2016-04-05 13:22:51 -07:00
Tim Abbott
70c1b0a01d
lister: Add file type detection for node and ruby.
2016-04-01 15:27:32 -07:00
Eklavya Sharma
aead933c14
Add command-line interface to lister.py using argparse.
2016-04-01 15:27:32 -07:00
Eklavya Sharma
81fdeae0ea
Remove '.'s from extensions in lister.py interface and lint-all.
...
In lint-all, change occurences of '.py', '.js', ... to 'py', 'js', ....
2016-04-01 15:27:16 -07:00
Eklavya Sharma
ec8ae1f4c5
Add option to determine file type in lister.py using shebang.
2016-04-01 15:19:13 -07:00
Eklavya Sharma
5063f16f82
Add options for file type in lister.py
...
Add option to filter files by their extension.
Add option to return a dict of list of files keyed by their file type.
2016-04-01 15:19:13 -07:00
Eklavya Sharma
81aabb5831
Add option to exclude files from lister.py.
2016-04-01 15:19:13 -07:00
Eklavya Sharma
422fef2e24
Add argument modified_only to lister.py.
...
Add option of only showing modified files in tools/lister.py.
2016-04-01 15:19:13 -07:00
Eklavya Sharma
6954eb072c
Create lister.py.
...
Make module tools/lister.py which lists all files in a directory
tracked by git. This is done because lister.py will be used by other
scripts in the future which have to introspect files in the repository,
like linters, static code checkers, etc.
2016-04-01 15:19:13 -07:00