The `settings` should be global
The `settings` should be global

The `settings` variable is expected to be available in a lot of the
functions, rather than passing it around it is just created in the top
level scope.

sclukey/rmate-python