summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2018-12-06 12:29:29 -0500
committerGitHub <noreply@github.com>2018-12-06 12:29:29 -0500
commitea182bbea386288b1acfbc35c99243a457ff1036 (patch)
treed3641a78217bbb79cbe039f80648b44b2fbdd0a4 /docs/conf.py
parent709af49a7f161c98260cc5ddda736987fb0f1f23 (diff)
parent9d90c1eb57c62ba1fcd8e470fa2e27248e1e9064 (diff)
downloadcmd2-git-ea182bbea386288b1acfbc35c99243a457ff1036.tar.gz
Merge pull request #607 from python-cmd2/flake8
Fix flake8 issues
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 2c75e14e..f22a117d 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -19,6 +19,9 @@ documentation root, use os.path.abspath to make it absolute, like shown here.
"""
import os
import sys
+
+from pkg_resources import get_distribution
+
# Import for custom theme from Read the Docs
import sphinx_rtd_theme
@@ -59,7 +62,6 @@ author = 'Catherine Devlin and Todd Leonhardt'
# |version| and |release|, also used in various other places throughout the
# built documents.
#
-from pkg_resources import get_distribution
# version will look like x.y.z
version = get_distribution('cmd2').version
# release will look like x.y