Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jul 12, 2021

Conversation

maxim-belkin
Copy link
Contributor

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 #611

CC @kekoziar

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.
@maxim-belkin maxim-belkin merged commit 092e5c9 into carpentries:gh-pages Jul 12, 2021
@maxim-belkin maxim-belkin deleted the non-fatal-require branch July 12, 2021 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant