Fix several new errors caught by mypy 0.501.

Clear out a bunch of easy to review errors, so we can focus on the more
complicated ones.
This commit is contained in:
Rishi Gupta
2017-03-03 11:30:49 -08:00
parent 024168d85d
commit 28d3af0965
15 changed files with 22 additions and 13 deletions

View File

@@ -41,7 +41,7 @@ class StatsDWrapper(object):
# as our statsd server supports them but supporting
# pystatsd is not released yet
def _our_gauge(self, stat, value, rate=1, delta=False):
# type: (str, float, float, bool) -> str
# type: (str, float, float, bool) -> None
"""Set a gauge value."""
from django_statsd.clients import statsd
if delta: