diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-03-11 19:25:18 +0300 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-03-11 19:25:18 +0300 |
commit | 99476f37e7af75a729aa7bbf301e94aa8da57196 (patch) | |
tree | 27e0d451a48abcaac31ae05c64a2ddbaa2a2fe4c /sphinx/application.py | |
parent | 4a1bf03233dea42595fd6efe5beea6d3ee2252f8 (diff) |
Fix mypy violations (with mypy-0.770)
Diffstat (limited to 'sphinx/application.py')
-rw-r--r-- | sphinx/application.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/application.py b/sphinx/application.py index 744e62a4e..152c8bb43 100644 --- a/sphinx/application.py +++ b/sphinx/application.py @@ -497,7 +497,7 @@ class Sphinx: other values. """ logger.debug('[app] adding config value: %r', - (name, default, rebuild) + ((types,) if types else ())) # type: ignore + (name, default, rebuild) + ((types,) if types else ())) if rebuild in (False, True): rebuild = 'env' if rebuild else '' self.config.add(name, default, rebuild, types) |