diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-12-29 23:56:30 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-12-30 17:22:56 +0900 |
commit | ab184ac20d82d0546c21f33d2fdfbfb324078d56 (patch) | |
tree | 225b6c5f9904d8699332add3cb0939fb8be68ef2 /sphinx/util/compat.py | |
parent | 7a4bbf372a470700a1dfd96dd57054bb96b92fd3 (diff) | |
download | sphinx-git-ab184ac20d82d0546c21f33d2fdfbfb324078d56.tar.gz |
mypy: Enable disallow_incomplete_defs flag for type checking
Diffstat (limited to 'sphinx/util/compat.py')
-rw-r--r-- | sphinx/util/compat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/compat.py b/sphinx/util/compat.py index 75ef90350..1030d5533 100644 --- a/sphinx/util/compat.py +++ b/sphinx/util/compat.py @@ -53,7 +53,7 @@ class IndexEntriesMigrator(SphinxTransform): """Migrating indexentries from old style (4columns) to new style (5columns).""" default_priority = 700 - def apply(self, **kwargs) -> None: + def apply(self, **kwargs: Any) -> None: for node in self.document.traverse(addnodes.index): for i, entries in enumerate(node['entries']): if len(entries) == 4: |