aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJohn Helmert III <ajak@gentoo.org>2022-08-14 19:39:48 -0500
committerSam James <sam@gentoo.org>2022-12-03 01:38:22 +0000
commit88ce0e6fc46ebd3bad583790ceb19f9be218d0ca (patch)
tree59b39ce1ffa6c577a4108dac779dea9f5e41905e /doc
parentbintree: Fix breaking GPKG structure on updates (diff)
downloadportage-88ce0e6fc46ebd3bad583790ceb19f9be218d0ca.tar.gz
portage-88ce0e6fc46ebd3bad583790ceb19f9be218d0ca.tar.bz2
portage-88ce0e6fc46ebd3bad583790ceb19f9be218d0ca.zip
pyupgrade everything
Signed-off-by: John Helmert III <ajak@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/conf.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/conf.py b/doc/api/conf.py
index ed3aeb214..c732054bd 100644
--- a/doc/api/conf.py
+++ b/doc/api/conf.py
@@ -64,7 +64,7 @@ html_theme = "sphinxdoc"
# so a file named "default.css" will overwrite the builtin "default.css".
# html_static_path = []
-autodoc_default_options = dict(
- (opt, True)
+autodoc_default_options = {
+ opt: True
for opt in filter(None, os.environ.get("SPHINX_APIDOC_OPTIONS", "").split(","))
-)
+}