mypy: Amend code & typing of integrations, to pass with strict-optional.
This commit is contained in:
parent
08bfe9d8c7
commit
33ccc04a32
6 changed files with 15 additions and 13 deletions
|
@ -11,10 +11,10 @@ import unicodedata
|
|||
sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'api'))
|
||||
import zulip
|
||||
|
||||
from typing import Set
|
||||
from typing import Set, Optional
|
||||
|
||||
def fetch_public_streams():
|
||||
# type: () -> Set[bytes]
|
||||
# type: () -> Optional[Set[bytes]]
|
||||
public_streams = set()
|
||||
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue