Fix flake8 docstring violation
Fix flake8 docstring violation

As of more recent versions of flake8 (3.8?), the noqa comment has to go
at the end of the docstring, instead of on the def line. Keep it both
places to support multiple flake8 versions.

bryanwweber/thermostate