conda_recipe_manager.parser.v0_recipe_formatter
- Description:
The V0 Recipe Formatter attempts to improve parsing capabilities of V0 recipe files by formatting the file prior to parsing. The parser can be easily tripped up on bad indentation and some recipe files have been found to be incredibly malformed. Given the V0 format does not contain legal YAML, we cannot use a common YAML formatting tool, like yamlfmt. This tool is not perfect, but is meant to catch enough common formatting issues to increase CRM's parsing capabilities in the ecosystem.
Classes
|
Class that attempts to format V0 recipe files in a way to improve parsing compatibility. |
- class conda_recipe_manager.parser.v0_recipe_formatter.V0RecipeFormatter(content: str)[source]
Bases:
object
Class that attempts to format V0 recipe files in a way to improve parsing compatibility.