forked from jupyter/nbformat
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Start working on mutation issues in validate.
Step 1 toward jupyter#235
- Loading branch information
Showing
3 changed files
with
81 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
""" | ||
Warnings that can be emitted by nbformat. | ||
""" | ||
|
||
|
||
class MissingIDFieldWarning(FutureWarning): | ||
""" | ||
This warning is emitted in the validation step of nbformat as we used to | ||
mutate the structure which is cause signature issues. | ||
This will be turned into an error at later point. | ||
We subclass FutureWarning as we will change the behavior in the future. | ||
""" | ||
|
||
pass |