Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
lint fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
David Robertson committed Mar 2, 2022
1 parent b56deeb commit a2b25f0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions synapse/util/check_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,10 @@ def _dependencies_for_extra(extra: str) -> Iterable[Dependency]:

def _not_installed(requirement: Requirement, extra: Optional[str] = None) -> str:
if extra:
return f"Synapse {VERSION} needs {requirement.name} for {extra}, " \
f"but it is not installed"
return (
f"Synapse {VERSION} needs {requirement.name} for {extra}, "
f"but it is not installed"
)
else:
return f"Synapse {VERSION} needs {requirement.name}, but it is not installed"

Expand Down

0 comments on commit a2b25f0

Please sign in to comment.