code: def pygments_language(self) -> str:
          
          extension = splitext(self.source_filename)[1]
          if extension in self.pygments_language_override:
              return self.pygments_language_override[extension]
          try:
              lexer = get_lexer_for_filename(self.source_filename)  # type: Lexer
              return lexer.name
          except ClassNotFound:
              log.warning("Don't know Pygments code type for extension {!r}",
                          self.source_extension)
              return CODE_TYPE_NONE
docs: Returns the code type annotation for Pygments; e.g. ``python`` for
          Python, ``cpp`` for C++, etc.