Skip to content

Commit 54c443c

Browse files
Upload v1.0.2 to PyPI
1 parent ea750b4 commit 54c443c

File tree

2 files changed

+40
-27
lines changed

2 files changed

+40
-27
lines changed

docs/conf.py

Lines changed: 39 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@
1010
import os
1111
import sys
1212

13-
sys.path.insert(0, os.path.abspath('.'))
14-
sys.path.insert(0, os.path.abspath('..'))
13+
sys.path.insert(0, os.path.abspath("."))
14+
sys.path.insert(0, os.path.abspath(".."))
1515

1616
##################################################
1717
# Project Information
1818
##################################################
19-
project = 'docstr_coverage'
20-
copyright = '2018, Hunter McGushion'
21-
author = 'Hunter McGushion'
19+
project = "docstr_coverage"
20+
copyright = "2018, Hunter McGushion"
21+
author = "Hunter McGushion"
2222

23-
version = '' # The short X.Y version
24-
release = '1.0.1' # The full version, including alpha/beta/rc tags
23+
version = "" # The short X.Y version
24+
release = "1.0.2" # The full version, including alpha/beta/rc tags
2525

2626
##################################################
2727
# General Configuration
@@ -32,32 +32,32 @@
3232
# Add any Sphinx extension module names here, as strings. They can be
3333
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
3434
extensions = [
35-
'sphinx.ext.autodoc',
36-
'sphinx.ext.coverage',
37-
'sphinx.ext.viewcode',
38-
'sphinx.ext.githubpages',
39-
'sphinx.ext.napoleon',
35+
"sphinx.ext.autodoc",
36+
"sphinx.ext.coverage",
37+
"sphinx.ext.viewcode",
38+
"sphinx.ext.githubpages",
39+
"sphinx.ext.napoleon",
4040
]
4141

4242
# Add any paths that contain templates here, relative to this directory.
43-
templates_path = ['_templates']
43+
templates_path = ["_templates"]
4444

4545
# The suffix(es) of source filenames. You can specify multiple suffix as a list of string: `source_suffix = ['.rst', '.md']`
46-
source_suffix = '.rst'
46+
source_suffix = ".rst"
4747

4848
# The master toctree document.
49-
master_doc = 'index'
49+
master_doc = "index"
5050

5151
# The language for content autogenerated by Sphinx. Refer to documentation for a list of supported languages. This is also used
5252
# if you do content translation via gettext catalogs. Usually you set "language" from the command line for these cases.
5353
language = None
5454

5555
# List of patterns, relative to source directory, that match files and directories to ignore when looking for source files.
5656
# This pattern also affects html_static_path and html_extra_path.
57-
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
57+
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
5858

5959
# The name of the Pygments (syntax highlighting) style to use.
60-
pygments_style = 'sphinx'
60+
pygments_style = "sphinx"
6161

6262
##################################################
6363
# AutoDocumentation/Napoleon Settings
@@ -69,16 +69,16 @@
6969
# Options for HTML Output
7070
##################################################
7171
# The theme to use for HTML and HTML Help pages. See the documentation for a list of builtin themes.
72-
html_theme = 'sphinx_rtd_theme' # 'nature'
72+
html_theme = "sphinx_rtd_theme" # 'nature'
7373

7474
# Theme options are theme-specific and customize the look and feel of a theme further. For a list of options available for each
7575
# theme, see the documentation.
7676
# html_theme_options = {}
7777

7878
# Add any paths that contain custom static files (such as style sheets) here, relative to this directory. They are copied after
7979
# the builtin static files, so a file named "default.css" will overwrite the builtin "default.css".
80-
html_static_path = ['_static']
81-
modindex_common_prefix = ['docstr_coverage.']
80+
html_static_path = ["_static"]
81+
modindex_common_prefix = ["docstr_coverage."]
8282

8383
# Custom sidebar templates, must be a dictionary that maps document names to template names. The default sidebars (for documents
8484
# that don't match any pattern) are defined by theme itself. Builtin themes are using these templates by default:
@@ -89,7 +89,7 @@
8989
# Options for HTMLHelp Output
9090
##################################################
9191
# Output file base name for HTML help builder.
92-
htmlhelp_basename = 'docstr_coveragedoc'
92+
htmlhelp_basename = "docstr_coveragedoc"
9393

9494
##################################################
9595
# Options for LaTeX Output
@@ -103,13 +103,21 @@
103103

104104
# Grouping the document tree into LaTeX files. List of tuples:
105105
# (source start file, target name, title, author, documentclass [howto, manual, or own class]).
106-
latex_documents = [(master_doc, 'docstr_coverage.tex', 'docstr\\_coverage Documentation', 'Hunter McGushion', 'manual')]
106+
latex_documents = [
107+
(
108+
master_doc,
109+
"docstr_coverage.tex",
110+
"docstr\\_coverage Documentation",
111+
"Hunter McGushion",
112+
"manual",
113+
)
114+
]
107115

108116
##################################################
109117
# Options for Manual Page Output
110118
##################################################
111119
# One entry per manual page. List of tuples: (source start file, name, description, authors, manual section).
112-
man_pages = [(master_doc, 'docstr_coverage', 'docstr_coverage Documentation', [author], 1)]
120+
man_pages = [(master_doc, "docstr_coverage", "docstr_coverage Documentation", [author], 1)]
113121

114122
##################################################
115123
# Options for Texinfo Output
@@ -118,9 +126,14 @@
118126
# (source start file, target name, title, author, dir menu entry, description, category)
119127
texinfo_documents = [
120128
(
121-
master_doc, 'docstr_coverage', 'docstr_coverage Documentation',
122-
author, 'docstr_coverage', 'One line description of project.', 'Miscellaneous'
123-
),
129+
master_doc,
130+
"docstr_coverage",
131+
"docstr_coverage Documentation",
132+
author,
133+
"docstr_coverage",
134+
"One line description of project.",
135+
"Miscellaneous",
136+
)
124137
]
125138

126139
##################################################

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ def readme():
66
return f.read()
77

88

9-
MAJOR, MINOR, MICRO = 1, 0, 1
9+
MAJOR, MINOR, MICRO = 1, 0, 2
1010
__VERSION__ = "{}.{}.{}".format(MAJOR, MINOR, MICRO)
1111

1212
setup(

0 commit comments

Comments
 (0)