mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-07 15:32:14 -04:00
Update mypy to 0.950 and fix complaints (#12650)
This commit is contained in:
parent
c2d50e9f6c
commit
2607b3e181
10 changed files with 98 additions and 57 deletions
|
@ -55,7 +55,8 @@ def load_appservices(
|
|||
) -> List[ApplicationService]:
|
||||
"""Returns a list of Application Services from the config files."""
|
||||
if not isinstance(config_files, list):
|
||||
logger.warning("Expected %s to be a list of AS config files.", config_files)
|
||||
# type-ignore: this function gets arbitrary json value; we do use this path.
|
||||
logger.warning("Expected %s to be a list of AS config files.", config_files) # type: ignore[unreachable]
|
||||
return []
|
||||
|
||||
# Dicts of value -> filename
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue