This lints project code to medium strictness and conforms to pep257. This uses
some additional options to reduce false errors, which I'll add in a separate PR.
This should pass our normal linting without a problem, except the minor change
to unused variable name regex.
This adds `__` to the default list of `_` and `dummy*` for unused arguments. I
prefer the default of `_`, but that overlaps with the translation helper `_()`.
I'd be happy to rethink a scheme here.
Otherwise pylint will raise a warning if this is used:
logger.debug('Logging value: {value}'.format(value=123))
And recommends using:
logger.debug('Logging value: %(value)s', value=123)