diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-07-17 01:01:51 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2021-04-08 01:54:17 +0900 |
commit | eb68c237dddbceecb7a295642e51e4ac8a5b36c2 (patch) | |
tree | 5cd9f57808fe4dd067b1d75d840157c8d5129e63 /sphinx/theming.py | |
parent | 245b3c32df1965b6bd5952cf25e19beef965a01b (diff) | |
download | sphinx-git-eb68c237dddbceecb7a295642e51e4ac8a5b36c2.tar.gz |
refactor: Use PEP-526 based variable annotation
Diffstat (limited to 'sphinx/theming.py')
-rw-r--r-- | sphinx/theming.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/theming.py b/sphinx/theming.py index bba47b344..b7fb652ac 100644 --- a/sphinx/theming.py +++ b/sphinx/theming.py @@ -211,7 +211,7 @@ class HTMLThemeFactory: def find_themes(self, theme_path: str) -> Dict[str, str]: """Search themes from specified directory.""" - themes = {} # type: Dict[str, str] + themes: Dict[str, str] = {} if not path.isdir(theme_path): return themes |