Skip to content

Commit 3071a66

Browse files
committed
docs/conf.py: format with ruff format
1 parent 3f44e50 commit 3071a66

File tree

1 file changed

+20
-16
lines changed

1 file changed

+20
-16
lines changed

docs/conf.py

+20-16
Original file line numberDiff line numberDiff line change
@@ -12,38 +12,42 @@
1212
# Add any Sphinx extension module names here, as strings. They can be extensions
1313
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
1414
extensions = [
15-
'sphinx.ext.doctest',
16-
'sphinx.ext.intersphinx',
17-
'pytestdocs',
15+
"sphinx.ext.doctest",
16+
"sphinx.ext.intersphinx",
17+
"pytestdocs",
1818
]
1919

2020
# Add any paths that contain templates here, relative to this directory.
21-
templates_path = ['_templates']
21+
templates_path = ["_templates"]
2222

2323
# The suffix of source filenames.
24-
source_suffix = '.rst'
24+
source_suffix = ".rst"
2525

2626
# The master toctree document.
27-
master_doc = 'index'
27+
master_doc = "index"
2828

2929
# General information about the project.
30-
project = 'pytest-django'
31-
copyright = f'{datetime.datetime.now(tz=datetime.timezone.utc).year}, Andreas Pelme and contributors'
30+
project = "pytest-django"
31+
copyright = (
32+
f"{datetime.datetime.now(tz=datetime.timezone.utc).year}, Andreas Pelme and contributors"
33+
)
3234

33-
exclude_patterns = ['_build']
35+
exclude_patterns = ["_build"]
3436

35-
pygments_style = 'sphinx'
37+
pygments_style = "sphinx"
3638

37-
html_theme = 'sphinx_rtd_theme'
39+
html_theme = "sphinx_rtd_theme"
3840

3941
# Output file base name for HTML help builder.
40-
htmlhelp_basename = 'pytest-djangodoc'
42+
htmlhelp_basename = "pytest-djangodoc"
4143

4244
intersphinx_mapping = {
43-
'python': ('https://docs.python.org/3', None),
44-
'django': ('https://docs.djangoproject.com/en/stable/',
45-
'https://docs.djangoproject.com/en/stable/_objects/'),
46-
'pytest': ('https://docs.pytest.org/en/stable/', None),
45+
"python": ("https://docs.python.org/3", None),
46+
"django": (
47+
"https://docs.djangoproject.com/en/stable/",
48+
"https://docs.djangoproject.com/en/stable/_objects/",
49+
),
50+
"pytest": ("https://docs.pytest.org/en/stable/", None),
4751
}
4852

4953
# Warn about all references where the target cannot be found

0 commit comments

Comments
 (0)