Skip to content

Commit 1f1acf8

Browse files
author
Hugo Osvaldo Barrera
committed
Really lint documentation conf.py
1 parent 2e2343c commit 1f1acf8

1 file changed

Lines changed: 13 additions & 10 deletions

File tree

docs/source/conf.py

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,30 @@
33
# pyBarcode documentation build configuration file, created by
44
# sphinx-quickstart on Fri Mar 12 13:29:48 2010.
55
#
6-
# This file is execfile()d with the current directory set to its containing dir.
6+
# This file is execfile()d with the current directory set to its containing
7+
# dir.
78
#
89
# Note that not all possible configuration values are present in this
910
# autogenerated file.
1011
#
1112
# All configuration values have a default; values that are commented out
1213
# serve to show the default.
1314

14-
import sys, os
15+
import os
16+
import sys
1517

1618
# If extensions (or modules to document with autodoc) are in another directory,
1719
# add these directories to sys.path here. If the directory is relative to the
1820
# documentation root, use os.path.abspath to make it absolute, like shown here.
1921
# sys.path.append(os.path.abspath('.'))
20-
sys.path.append(os.path.abspath(".."))
2122
from barcode import version
2223

2324
LOGO = os.path.join("images", "pybarcode_small.png")
2425

25-
# -- General configuration -----------------------------------------------------
26+
# -- General configuration ----------------------------------------------------
2627

27-
# Add any Sphinx extension module names here, as strings. They can be extensions
28-
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
28+
# Add any Sphinx extension module names here, as strings. They can be
29+
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
2930
extensions = [
3031
"sphinx.ext.autodoc",
3132
"sphinx.ext.graphviz",
@@ -74,7 +75,8 @@
7475
# for source files.
7576
exclude_trees = ["_build"]
7677

77-
# The reST default role (used for this markup: `text`) to use for all documents.
78+
# The reST default role (used for this markup: `text`) to use for all
79+
# documents.
7880
# default_role = None
7981

8082
# If true, '()' will be appended to :func: etc. cross-reference text.
@@ -94,7 +96,7 @@
9496
# A list of ignored prefixes for module index sorting.
9597
# modindex_common_prefix = []
9698

97-
# -- Options for HTML output ---------------------------------------------------
99+
# -- Options for HTML output --------------------------------------------------
98100

99101
# The theme to use for HTML and HTML Help pages. See the documentation for
100102
# a list of builtin themes.
@@ -171,7 +173,7 @@
171173
# Output file base name for HTML help builder.
172174
htmlhelp_basename = "pyBarcodedoc"
173175

174-
# -- Options for LaTeX output --------------------------------------------------
176+
# -- Options for LaTeX output -------------------------------------------------
175177

176178
# The paper size ('letter' or 'a4').
177179
# latex_paper_size = 'letter'
@@ -180,7 +182,8 @@
180182
# latex_font_size = '10pt'
181183

182184
# Grouping the document tree into LaTeX files. List of tuples
183-
# (source start file, target name, title, author, documentclass [howto/manual]).
185+
# (source start file, target name, title, author, documentclass
186+
# [howto/manual]).
184187
latex_documents = [
185188
(
186189
"index",

0 commit comments

Comments
 (0)