Skip to content

Commit 10ea1fc

Browse files
committed
Merge branch 'feature/qa-cleanup' into 'master'
QA cleanup See merge request python-devs/importlib_metadata!66
2 parents b1d1ea0 + 5bd0341 commit 10ea1fc

File tree

2 files changed

+12
-20
lines changed

2 files changed

+12
-20
lines changed

importlib_metadata/docs/conf.py

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#!/usr/bin/env python3
22
# -*- coding: utf-8 -*-
33
#
4-
# flake8: noqa
5-
#
64
# importlib_metadata documentation build configuration file, created by
75
# sphinx-quickstart on Thu Nov 30 10:21:00 2017.
86
#
@@ -114,8 +112,8 @@
114112
'**': [
115113
'relations.html', # needs 'show_related': True theme option to display
116114
'searchbox.html',
117-
]
118-
}
115+
]
116+
}
119117

120118

121119
# -- Options for HTMLHelp output ------------------------------------------
@@ -142,15 +140,16 @@
142140
# Latex figure (float) alignment
143141
#
144142
# 'figure_align': 'htbp',
145-
}
143+
}
146144

147145
# Grouping the document tree into LaTeX files. List of tuples
148146
# (source start file, target name, title,
149147
# author, documentclass [howto, manual, or own class]).
150148
latex_documents = [
151-
(master_doc, 'importlib_metadata.tex', 'importlib\\_metadata Documentation',
149+
(master_doc, 'importlib_metadata.tex',
150+
'importlib\\_metadata Documentation',
152151
'Brett Cannon, Barry Warsaw', 'manual'),
153-
]
152+
]
154153

155154

156155
# -- Options for manual page output ---------------------------------------
@@ -160,7 +159,7 @@
160159
man_pages = [
161160
(master_doc, 'importlib_metadata', 'importlib_metadata Documentation',
162161
[author], 1)
163-
]
162+
]
164163

165164

166165
# -- Options for Texinfo output -------------------------------------------
@@ -172,9 +171,7 @@
172171
(master_doc, 'importlib_metadata', 'importlib_metadata Documentation',
173172
author, 'importlib_metadata', 'One line description of project.',
174173
'Miscellaneous'),
175-
]
176-
177-
174+
]
178175

179176

180177
# Example configuration for intersphinx: refer to the Python standard library.
@@ -190,7 +187,7 @@
190187
dict(
191188
pattern=r'^(?m)((?P<scm_version>v?\d+(\.\d+){1,2}))\n[-=]+\n',
192189
with_scm='{text}\n{rev[timestamp]:%Y-%m-%d}\n\n',
193-
),
194-
],
195-
),
196-
}
190+
),
191+
],
192+
),
193+
}

tox.ini

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,4 @@ rc = --rcfile="{[coverage]rcfile}"
8686
hang-closing = True
8787
jobs = 1
8888
max-line-length = 79
89-
exclude =
90-
# Exclude the entire top-level __init__.py file since its only purpose is
91-
# to expose the version string and to handle Python 2/3 compatibility.
92-
importlib_metadata/__init__.py
93-
importlib_metadata/docs/conf.py
9489
enable-extensions = U4

0 commit comments

Comments
 (0)