Skip to content

Commit

Permalink
global: fix minor sphinx and isort issues
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
Nicolas Harraudeau committed Jun 2, 2017
1 parent 59a133d commit 254967f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')]
1 change: 0 additions & 1 deletion tests/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']
))
Expand Down

0 comments on commit 254967f

Please sign in to comment.