classmethod Config.get_local_config_file(filename)

Find local file to setup default values.

There is a pre-fixed logic on how the search of the configuration file is performed. If the highes priority configuration file is found, there is no need to search for the next. From highest to lowest priority:

  1. Local: Configuration file found in the current working directory.
  2. Project: Configuration file found in the root of the current working git repository.
  3. User: Configuration file found in the user’s $HOME.
Parameters:filename (str) – Raw name of the configuration file.
Returns:Union[str, None] - Configuration file with the highest priority, None if no config file is found.