mypy: Set self.doc_context in integrations.py to Optional.

This commit is contained in:
neiljp (Neil Pilgrim)
2017-07-08 17:36:22 -07:00
committed by Tim Abbott
parent f2b71ba12a
commit 814dce0452

View File

@@ -60,7 +60,7 @@ class Integration(object):
self.client_name = client_name
self.secondary_line_text = secondary_line_text
self.doc = doc
self.doc_context = None # type: Dict[Any, Any]
self.doc_context = None # type: Optional[Dict[Any, Any]]
for category in categories:
if category not in CATEGORIES: