Exemple #1
0
    def add_config(name: str, config_item: ConfigItem) -> None:
        """Add a config item to the configuration class.

        Args:
            name (str): The name of the config item
            config_item (pdm.project.config.ConfigItem): The config item to add
        """
        Config.add_config(name, config_item)
Exemple #2
0
 def add_config(name: str, config_item: ConfigItem) -> None:
     """Add a config item to the configuration class"""
     Config.add_config(name, config_item)