Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 15, 2024
1 parent a33111f commit 555f236
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/make_api_rst.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from os import makedirs
from shutil import rmtree
from string import Template
from typing import List

import yaml

Expand Down Expand Up @@ -278,8 +277,7 @@ def generate_docs():
summary = ""
if class_doc:
summary = extract_summary(class_doc)
row_contents = [f"`{class_name} <{class_name}.html>`_",
summary or '']
row_contents = [f"`{class_name} <{class_name}.html>`_", summary or ""]
package_custom_toc += make_table_row(row_contents)

package_index.write(
Expand Down

0 comments on commit 555f236

Please sign in to comment.