Skip to content

Commit eeb3051

Browse files
committed
blacken docs config file
1 parent be4b060 commit eeb3051

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

docs/conf.py

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -4,38 +4,38 @@
44
import os
55

66
extensions = [
7-
'sphinx.ext.autodoc',
8-
'sphinx.ext.autosummary',
9-
'sphinx.ext.coverage',
10-
'sphinx.ext.doctest',
11-
'sphinx.ext.extlinks',
12-
'sphinx.ext.ifconfig',
13-
'sphinx.ext.napoleon',
14-
'sphinx.ext.todo',
15-
'sphinx.ext.viewcode',
7+
"sphinx.ext.autodoc",
8+
"sphinx.ext.autosummary",
9+
"sphinx.ext.coverage",
10+
"sphinx.ext.doctest",
11+
"sphinx.ext.extlinks",
12+
"sphinx.ext.ifconfig",
13+
"sphinx.ext.napoleon",
14+
"sphinx.ext.todo",
15+
"sphinx.ext.viewcode",
1616
]
17-
if os.getenv('SPELLCHECK'):
18-
extensions += 'sphinxcontrib.spelling',
17+
if os.getenv("SPELLCHECK"):
18+
extensions += ("sphinxcontrib.spelling",)
1919
spelling_show_suggestions = True
20-
spelling_lang = 'en_US'
20+
spelling_lang = "en_US"
2121

22-
source_suffix = '.rst'
23-
master_doc = 'index'
24-
project = 'roslibpy'
25-
year = '2019'
26-
author = 'Gramazio Kohler Research'
27-
copyright = '{0}, {1}'.format(year, author)
28-
version = release = '1.3.0'
22+
source_suffix = ".rst"
23+
master_doc = "index"
24+
project = "roslibpy"
25+
year = "2019"
26+
author = "Gramazio Kohler Research"
27+
copyright = "{0}, {1}".format(year, author)
28+
version = release = "1.3.0"
2929

30-
pygments_style = 'trac' # Perhaps change to sphinx
31-
templates_path = ['.']
30+
pygments_style = "trac" # Perhaps change to sphinx
31+
templates_path = ["."]
3232
extlinks = {
33-
'issue': ('https://github.com/gramaziokohler/roslibpy/issues/%s', '#'),
34-
'pr': ('https://github.com/gramaziokohler/roslibpy/pull/%s', 'PR #'),
33+
"issue": ("https://github.com/gramaziokohler/roslibpy/issues/%s", "#"),
34+
"pr": ("https://github.com/gramaziokohler/roslibpy/pull/%s", "PR #"),
3535
}
3636
# on_rtd is whether we are on readthedocs.org
37-
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
38-
html_theme = 'alabaster'
37+
on_rtd = os.environ.get("READTHEDOCS", None) == "True"
38+
html_theme = "alabaster"
3939
html_theme_options = {
4040
"description": "Python ROS Bridge library",
4141
"github_user": "gramaziokohler",
@@ -44,12 +44,12 @@
4444
}
4545

4646
html_use_smartypants = True
47-
html_last_updated_fmt = '%b %d, %Y'
47+
html_last_updated_fmt = "%b %d, %Y"
4848
html_split_index = False
4949
html_sidebars = {
50-
'**': ['about.html', 'navigation.html', 'searchbox.html'],
50+
"**": ["about.html", "navigation.html", "searchbox.html"],
5151
}
52-
html_short_title = '%s-%s' % (project, version)
52+
html_short_title = "%s-%s" % (project, version)
5353

5454
napoleon_use_ivar = True
5555
napoleon_use_rtype = False

0 commit comments

Comments
 (0)