message: Fix some python lint errors in dtype
diff: @@ -132,7 +132,7 @@ class DType(object):
  @property
  def is_bool(self):
  - """Returns whether this is a boolean data type"""
  + """Returns whether this is a boolean data type."""
  return self.base_dtype == bool
  @property
  @@ -188,10 +188,10 @@ class DType(object):
  # there is no simple way to get the min value of a dtype, we have to check
  # float and int types separately
  try:
  - return np.finfo(self.as_numpy_dtype()).min
  + return np.finfo(self.as_numpy_dtype).min
  except: # bare except as possible raises by finfo not documented
  try:
  - return np.iinfo(self.as_numpy_dtype()).min
  + return np.iinfo(self.as_numpy_dtype).min
  except:
  if self.base_dtype == bfloat16:
  return _np_bfloat16(float.fromhex("-0x1.FEp127"))
  @@ -212,10 +212,10 @@ class DType(object):
  # there is no simple way to get the max value of a dtype, we have to check
  # float and int types separately
  try:
  - return np.finfo(self.as_numpy_dtype()).max
  + return np.finfo(self.as_numpy_dtype).max
  except: # bare except as possible raises by finfo not documented
  try:
  - return np.iinfo(self.as_numpy_dtype()).max
  + return np.iinfo(self.as_numpy_dtype).max
  except:
  if self.base_dtype == bfloat16:
  return _np_bfloat16(float.fromhex("0x1.FEp127"))
  