docs: def get_altimeter(wxdata: [str], units: Units, version: str = 'NA') -> ([str], Number):  # type: ignore  # noqa
      """
      Returns the report list and the removed altimeter item
  
      Version is 'NA' (North American / default) or 'IN' (International)
      """
      if not wxdata:
          return wxdata, None
      altimeter = ''
      target = wxdata[-1]
      if version == 'NA':
          # Version target
          if target[0] == 'A':
              altimeter = wxdata.pop()[1:]
          # Other version but prefer normal if available
          elif target[0] == 'Q':
              if wxdata[-2][0] == 'A':
                  wxdata.pop()
                  altimeter = wxdata.pop()[1:]
              else:
                  units.altimeter = 'hPa'
                  altimeter = wxdata.pop()[1:].lstrip('.')
          # Else grab the digits
          elif len(target) == 4 and target.isdigit():
              altimeter = wxdata.pop()
      elif version == 'IN':
          # Version target
          if target[0] == 'Q':
              altimeter = wxdata.pop()[1:].lstrip('.')
              if '/' in altimeter:
                  altimeter = altimeter[:altimeter.find('/')]
          # Other version but prefer normal if available
          elif target[0] == 'A':
              if wxdata[-2][0] == 'Q':
                  wxdata.pop()
                  altimeter = wxdata.pop()[1:]
              else:
                  units.altimeter = 'inHg'
                  altimeter = wxdata.pop()[1:]
      # Some stations report both, but we only need one
      if wxdata and (wxdata[-1][0] == 'A' or wxdata[-1][0] == 'Q'):
          wxdata.pop()
      # convert to Number
      if not altimeter:
          return wxdata, None
      if units.altimeter == 'inHg':
          value = altimeter[:2] + '.' + altimeter[2:]
      else:
          value = altimeter
      return wxdata, make_number(value, altimeter)