Merge pull request #83 from sambrightman/fix-flake8-warning

Migrate to argparse callable `type=` option