From 254967f819fd27fd90ee22e2f23db61a37dedb6e Mon Sep 17 00:00:00 2001 From: Nicolas Harraudeau Date: Fri, 2 Jun 2017 15:55:08 +0200 Subject: [PATCH] global: fix minor sphinx and isort issues * Fixes isort issue in a test file. * Fixes sphinx issue related to python 3 types refrences. (see https://bugs.python.org/issue11975) Signed-off-by: Nicolas Harraudeau --- docs/conf.py | 3 +++ tests/helpers.py | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 1c1ca11..fa5dc8b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -336,3 +336,6 @@ # Autodoc configuraton. autoclass_content = 'both' + +# remove exceptions related to built-in python types (see https://bugs.python.org/issue11975) +nitpick_ignore = [('py:obj', 'list')] diff --git a/tests/helpers.py b/tests/helpers.py index da58f1f..8c83650 100644 --- a/tests/helpers.py +++ b/tests/helpers.py @@ -27,7 +27,6 @@ from jsonresolver import JSONResolver from jsonresolver.contrib.jsonref import json_loader_factory - LOADER_CLS = json_loader_factory(JSONResolver( plugins=['invenio_jsonschemas.jsonresolver'] ))