From 7c0cbe92bf461323c04b693375977d0dd30fce1b Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Fri, 6 May 2016 00:41:15 +0200 Subject: [PATCH] fix autocorrect wrong import order --- .isort.cfg | 2 ++ docs/conf.py | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 .isort.cfg diff --git a/.isort.cfg b/.isort.cfg new file mode 100644 index 00000000..d041c2b7 --- /dev/null +++ b/.isort.cfg @@ -0,0 +1,2 @@ +[settings] +skip=docs/conf.py diff --git a/docs/conf.py b/docs/conf.py index f5d9c0a8..ae6aa4e6 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -4,8 +4,6 @@ from __future__ import absolute_import, print_function, unicode_literals import os import sys -import wiki - # # django-wiki documentation build configuration file, created by # sphinx-quickstart on Mon Jul 23 16:13:51 2012. @@ -62,7 +60,8 @@ sys.path = [path] + sys.path sys.path = [os.path.join(path, 'wiki')] + sys.path -print(wiki.__file__) +import wiki # noqa + # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the -- 2.45.2