Skip to content

Commit ec1829b

Browse files
committed
Apply automatic code formatting
1 parent 32d82aa commit ec1829b

File tree

4 files changed

+23
-5
lines changed

4 files changed

+23
-5
lines changed

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
license="BSD",
2626
packages=["sphinx_multiversion"],
2727
entry_points={
28-
"console_scripts": ["sphinx-multiversion=sphinx_multiversion:main",],
28+
"console_scripts": [
29+
"sphinx-multiversion=sphinx_multiversion:main",
30+
],
2931
},
3032
)

sphinx_multiversion/git.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,14 @@
1010

1111
GitRef = collections.namedtuple(
1212
"VersionRef",
13-
["name", "commit", "source", "is_remote", "refname", "creatordate",],
13+
[
14+
"name",
15+
"commit",
16+
"source",
17+
"is_remote",
18+
"refname",
19+
"creatordate",
20+
],
1421
)
1522

1623
logger = logging.getLogger(__name__)

sphinx_multiversion/main.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ def load_sphinx_config_worker(q, confpath, confoverrides, add_defaults):
3434
try:
3535
with working_dir(confpath):
3636
current_config = sphinx_config.Config.read(
37-
confpath, confoverrides,
37+
confpath,
38+
confoverrides,
3839
)
3940

4041
if add_defaults:
@@ -250,7 +251,8 @@ def main(argv=None):
250251

251252
# Ensure that there are not duplicate output dirs
252253
outputdir = config.smv_outputdir_format.format(
253-
ref=gitref, config=current_config,
254+
ref=gitref,
255+
config=current_config,
254256
)
255257
if outputdir in outputdirs:
256258
logger.warning(

sphinx_multiversion/sphinx.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,14 @@
2020
DEFAULT_OUTPUTDIR_FORMAT = r"{ref.name}"
2121

2222
Version = collections.namedtuple(
23-
"Version", ["name", "url", "version", "release", "is_released",]
23+
"Version",
24+
[
25+
"name",
26+
"url",
27+
"version",
28+
"release",
29+
"is_released",
30+
],
2431
)
2532

2633

0 commit comments

Comments
 (0)