Skip to content

Commit

Permalink
Use list instead of the deprecated List
Browse files Browse the repository at this point in the history
Replace `typing.List` for the builtin `list`, since the former has been
deprecated.
  • Loading branch information
santisoler committed Feb 24, 2025
1 parent b4b6b6a commit 89c3363
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import datetime

import pooch
import typing as t


# Project information
Expand Down Expand Up @@ -45,7 +44,7 @@
}

# Autosummary pages will be generated by sphinx-autogen instead of sphinx-build
autosummary_generate: t.List = []
autosummary_generate: list = []

# Otherwise, the Return parameter list looks different from the Parameters list
napoleon_use_rtype = False
Expand Down Expand Up @@ -78,7 +77,7 @@
html_static_path = ["_static"]
# CSS files are relative to the static path
html_css_files = ["style.css"]
html_extra_path: t.List = []
html_extra_path: list = []
html_show_sourcelink = False
html_show_sphinx = True
html_show_copyright = True
Expand Down

0 comments on commit 89c3363

Please sign in to comment.