code: def get_config(ini_path=None, rootdir=None):
      
      config = Namespace()
      config.default_section = 'pylama'
  
      if not ini_path:
          path = get_default_config_file(rootdir)
          if path:
              config.read(path)
      else:
          config.read(ini_path)
  
      return config
docs: Load configuration from INI.
  
      :return Namespace: