code: def lint(self, content, **kwargs):
          
          post_data = {'content': content}
          data = self.http_post('/ci/lint', post_data=post_data, **kwargs)
          return (data['status'] == 'valid', data['errors'])
docs: Validate a gitlab CI configuration.
  
          Args:
              content (txt): The .gitlab-ci.yml content
              **kwargs: Extra options to send to the server (e.g. sudo)
  
          Raises:
              GitlabAuthenticationError: If authentication is not correct
              GitlabVerifyError: If the validation could not be done
  
          Returns:
              tuple: (True, []) if the file is valid, (False, errors(list))
                  otherwise