diff --git a/mypy.ini b/mypy.ini index 56470f7937..780ba3454f 100644 --- a/mypy.ini +++ b/mypy.ini @@ -307,21 +307,6 @@ strict_optional = False # One change required? -[mypy-zerver.lib.notifications] # line 122: Using group from regex, which might return None -strict_optional = True -[mypy-zerver.lib.avatar] # str vs Optional[str] -strict_optional = True -[mypy-zerver.lib.soft_deactivation] -strict_optional = True -[mypy-zerver.lib.events] # signup_notifications_stream is Optional, but accessing id property -strict_optional = True -[mypy-zerver.lib.exceptions] #21: error: Return type of "__reduce_ex__" incompatible with supertype "object" -strict_optional = True -[mypy-zerver.lib.bugdown.api_arguments_table_generator] #18: error: Item "None" of "Optional[Dict[str, Any]]" has no attribute "items" -strict_optional = True -[mypy-zerver.lib.message] #868: error: Unsupported operand types for - ("Optional[int]" and "int") -strict_optional = True - [mypy-zerver.migrations.0077_add_file_name_field_to_realm_emoji] #73: error: Argument 2 to "upload_files" of "Uploader" has incompatible type "Optional[bytes]"; expected "bytes" strict_optional = False