[damned-lies] chore: flake8 fixes on docs



commit fc253afabc85e69ea351ccfc5e2d08b16f453bec
Author: Guillaume Bernard <associations guillaume-bernard fr>
Date:   Fri Apr 30 11:29:32 2021 +0200

    chore: flake8 fixes on docs

 docs/source/conf.py | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/docs/source/conf.py b/docs/source/conf.py
index 3165543c..7dd797aa 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -4,11 +4,12 @@
 import os
 import sys
 
-sys.path.insert(0, os.path.abspath('..'))
-sys.path.insert(1, os.path.abspath('../..'))
-
 import django
 from recommonmark.parser import CommonMarkParser
+import sphinx_rtd_theme
+
+sys.path.insert(0, os.path.abspath('..'))
+sys.path.insert(1, os.path.abspath('../..'))
 
 os.environ['DJANGO_SETTINGS_MODULE'] = 'damnedlies.settings_tests'
 django.setup()
@@ -24,7 +25,7 @@ templates_path = ['_templates']
 
 # The suffix(es) of source filenames.
 # You can specify multiple suffix as a list of string:
-source_parsers = {'.md': CommonMarkParser,}
+source_parsers = {'.md': CommonMarkParser}
 source_suffix = {
     '.rst': 'restructuredtext',
     '.txt': 'markdown',
@@ -71,8 +72,6 @@ todo_include_todos = True
 autoclass_content = 'both'
 
 # -- Options for HTML output ----------------------------------------------
-import sphinx_rtd_theme
-
 html_theme = "sphinx_rtd_theme"
 html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]