I have decided to try snakefood to help with a refactoring to check the imports. It keeps dumping output on the screen and ">" does not send it to a file, it just creates an empty file.
I had to unfortunately create a virtualenv with Python 2.7 as it probably does not work properly in Python 3. Still, it can probably check a Python 2 project, even though it is written in Python 2. Am using a Mac, but it seems to use similar commands to Linux on the command line.
I did
pip install six
pip install graphviz
pip install snakefood
once the Python 2 environment was activated.
Then if I type
$ sfood-checker path/to/folder
..it dumps a huge amount of text on the screen, but
$ sfood-checker path/to/folder > check.txt
..only creates an empty file. Any idea what is wrong, how to fix it? Would like to carefully go through the file in sublime.