Skip to content

prefix-dev/recipe-format

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

New recipe.yaml format schema

This repository contains the JSON Schema for the new recipe.yaml format proposed in the following conda CEPs:

How to use

There is a fully JSON Schema 1.0 compliant schema.json at the root of this repository. This file is generated from the model.py using pydantic.

You can use the schema in any editor that supports JSON Schema for yaml. Using the YAML extension for VSCode all you need to do is add:

# yaml-language-server: $schema=https://raw.githubusercontent.com/prefix-dev/recipe-format/main/schema.json

to the top of your recipe file and you should have autocompletion and validation!

Contributing

The project is using pixi to be able to quickly format, validate and generate the schema.

Note: When submitting changes to model.py make sure to run following commands locally first.(inorder)

pixi run fmt
pixi run lint
pixi run generate > schema.json
pixi run test 

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages