Fix typing issues

They were caused by upgrading to a higher mypy version, which found more mistakes
This commit is contained in:
Jaime van Kessel 2019-07-23 12:58:46 +02:00
parent 34e823e189
commit 9ceb9ce18b
7 changed files with 14 additions and 14 deletions

View file

@ -421,7 +421,7 @@ class CuraApplication(QtApplication):
# Add empty variant, material and quality containers.
# Since they are empty, they should never be serialized and instead just programmatically created.
# We need them to simplify the switching between materials.
self.empty_container = cura.Settings.cura_empty_instance_containers.empty_container # type: EmptyInstanceContainer
self.empty_container = cura.Settings.cura_empty_instance_containers.empty_container
self._container_registry.addContainer(
cura.Settings.cura_empty_instance_containers.empty_definition_changes_container)