Skip to content

Commit

Permalink
resort imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau committed Nov 23, 2021
1 parent 43ea02c commit 3f80ac0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
12 changes: 6 additions & 6 deletions nbformat/tests/test_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@

import os
import re

from nbformat.warnings import MissingIDFieldWarning
from copy import deepcopy

from .base import TestsBase
import pytest
from jsonschema import ValidationError

from nbformat import read
from ..validator import isvalid, validate, iter_validate
from ..json_compat import VALIDATORS
from nbformat.warnings import MissingIDFieldWarning

import pytest
from ..json_compat import VALIDATORS
from ..validator import isvalid, iter_validate, validate
from .base import TestsBase

nb4 = ("test4.ipynb", "test4.5.ipynb")

Expand Down
6 changes: 4 additions & 2 deletions nbformat/validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# Distributed under the terms of the Modified BSD License.

from __future__ import print_function

import json
import os
import pprint
Expand All @@ -10,9 +11,10 @@
from copy import deepcopy

from ipython_genutils.importstring import import_item
from .json_compat import get_current_validator, ValidationError
from .reader import get_version, reads

from .corpus.words import generate_corpus_id
from .json_compat import ValidationError, get_current_validator
from .reader import get_version, reads
from .warnings import MissingIDFieldWarning

validators = {}
Expand Down

0 comments on commit 3f80ac0

Please sign in to comment.