Remove two unused variables
Fix travis to check scripts explicitly

just doing `flake8 scripts/` is not enough, since flake8 only checks py files
recursively, so it must be told to check the scripts directly
Merge pull request #615 from adamrp/flake8_checking

Flake8 checking