Commit graph

12 commits

Author SHA1 Message Date
Matt Martz
4c8c0b035f Check for sys.exit. Fixes #5 2016-10-13 14:22:34 +01:00
Matt Martz
823e3c72d3 Track errors/warnings and exit with a code equal to the total 2016-10-13 14:22:34 +01:00
Matt Martz
b121d202f5 Um, that was dumb, and apparently not tested, good job self. 2016-10-13 14:22:34 +01:00
Matt Martz
58703e47ac Make module_utils imports not at bottom a warning 2016-10-13 14:22:34 +01:00
Matt Martz
af6dde6eae Add warning for json import. Fixes #2 2016-10-13 14:22:34 +01:00
Matt Martz
074e4ad47f rstrip modules path, to prevent some strange scenario with .git 2016-10-13 14:22:34 +01:00
Matt Martz
46670598aa Add interpreter check. Fixes #1 2016-10-13 14:22:34 +01:00
Matt Martz
f0413bfd45 pep8 cleanup 2016-10-13 14:22:34 +01:00
Toshio Kuratomi
b6c1bcb64d Some checks that the modules are also python modules
* Pull some logic into a Validator base class
* Add a PythonPackageValidator that checks directories are python
  packages
* Handle files that have python syntax errors
* Report modules that do not have a .py extension
2016-10-13 14:22:34 +01:00
Matt Martz
7a8862975e Fix try/except HAS_ logic 2016-10-13 14:22:34 +01:00
Matt Martz
b608194e59 Make call to main() not at bottom an error 2016-10-13 14:22:34 +01:00
Matt Martz
bfab54e8f4 Initial commit 2016-10-13 14:22:34 +01:00