Skip to content

Commit

Permalink
Clarify with a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas Wold committed Jan 24, 2022
1 parent 6d673ac commit 884adeb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nbformat/validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,8 @@ def iter_validate(nbdict=None, ref=None, version=None, version_minor=None,

# Validate one more time to ensure that us removing metadata
# didn't cause another complex validation issue in the schema.
# Also to ensure that higher-level errors produced by individual metadata validation
# failures are removed.
errors = validator.iter_errors(nbdict)

for error in errors:
Expand Down

0 comments on commit 884adeb

Please sign in to comment.