read_config¶
-
nbreport.userconfig.read_config(path=None)¶ Read an existing nbreport YAML-formatted configuration file.
Parameters: - path :
strorpathlib.Path, optional An optional, user-provided, override of the default configuration file path. The default path is
~/.nbreport.yaml.- Returns
- ——
- config :
ruamel.yaml.comments.CommentedMap The configuration data, as a native
ruamel.yamlmap type.
Raises: - FileNotFoundError
Raised if the file does not exist.
- path :