mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix mypy violation
This commit is contained in:
parent
5dbfc43dda
commit
05516a61c8
@ -217,7 +217,7 @@ def load_mappings(app):
|
||||
|
||||
if isinstance(value, (list, tuple)):
|
||||
# new format
|
||||
name, (uri, inv) = key, value # type: ignore
|
||||
name, (uri, inv) = key, value
|
||||
if not isinstance(name, string_types):
|
||||
logger.warning('intersphinx identifier %r is not string. Ignored', name)
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user