Address flake8 warning
Summary: Address flake8 warning
@@ -110,8 +110,10 @@ class MeshAuxiliaryDataType(Enum):
def create_mesh(
mesh_name: str,
device: torch.device,
- auxiliary_data_types: Set[MeshAuxiliaryDataType] = MeshAuxiliaryDataType.all(), # noqa
+ auxiliary_data_types: Optional[Set[MeshAuxiliaryDataType]] = None,
):
+ if auxiliary_data_types is None:
+ auxiliary_data_types = MeshAuxiliaryDataType.all()
mesh_info = MeshCatalog[mesh_name]
vertices, faces = load_mesh_data(mesh_info.data)
geodists, texcoords = None, None
