carpentries / styles

Styles for The Carpentries lessons. No README to avoid merge conflicts with lessons. Demo 👇
https://carpentries.github.io/lesson-example
Other
84 stars 94 forks source link

util.py: load_yaml: Don't fail when it's not necessary #613

Closed maxim-belkin closed 2 years ago

maxim-belkin commented 2 years ago

Also, make 'require()' function not fail by default. The only case where we really need to fail is when 'kramdown' parser is not specified. This is a highly unlikely scenario, tbh (because arguments to lesson_check.py are set in the Makefile), but we can think about reworking/optimizing this part later.

This change would allow us to do more checks in case of early failures.

Tangentially related to carpentries/styles#611

CC @kekoziar