summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2020-08-12 19:40:32 -0400
committerJulian Berman <Julian@GrayVines.com>2020-08-12 19:40:42 -0400
commit6e1281abc981a5ff20fc10b7dde194d7eae4f637 (patch)
treeae4b5cd7332b39056b6ceaf1ceacf069de147866 /docs
parent07665ecee104f501be46307eee02771b4b8c9778 (diff)
downloadjsonschema-6e1281abc981a5ff20fc10b7dde194d7eae4f637.tar.gz
isorted.
Diffstat (limited to 'docs')
-rw-r--r--docs/conf.py1
-rw-r--r--docs/jsonschema_role.py7
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 565b00a..fbf6f30 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -9,7 +9,6 @@ import sys
import jsonschema
-
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
diff --git a/docs/jsonschema_role.py b/docs/jsonschema_role.py
index a63ff72..82ccfbe 100644
--- a/docs/jsonschema_role.py
+++ b/docs/jsonschema_role.py
@@ -1,17 +1,18 @@
from datetime import datetime
-from docutils import nodes
import errno
import os
+from docutils import nodes
+
try:
import urllib2 as urllib
except ImportError:
import urllib.request as urllib
-import certifi
-import jsonschema
from lxml import html
+import certifi
+import jsonschema
__version__ = "1.1.0"
VALIDATION_SPEC = "https://json-schema.org/draft-07/json-schema-validation.html"