Skip to content

Commit

Permalink
Deflake8
Browse files Browse the repository at this point in the history
  • Loading branch information
MTCam committed Aug 28, 2024
1 parent 6084eb1 commit 12785f4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mirgecom/logging_quantities.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
from grudge.discretization import DiscretizationCollection
import pyopencl as cl

from typing import Optional, Callable, Union, Tuple
from typing import Optional, Callable, Union, Tuple, Dict, Any
import numpy as np

from grudge.dof_desc import DD_VOLUME_ALL
Expand Down Expand Up @@ -109,7 +109,8 @@ def logmgr_add_cl_device_info(logmgr: LogManager, queue: cl.CommandQueue) -> Non
logmgr.set_constant("cl_platform_version", dev.platform.version)


def logmgr_add_simulation_info(logmgr: LogManager, sim_info: Dict[str, Any) -> None:
def logmgr_add_simulation_info(logmgr: LogManager,
sim_info: Dict[str, Any]) -> None:
"""Add some user-defined information to the logpyle output."""
for field_name in sim_info:
logmgr.set_constant(field_name, sim_info[field_name])
Expand Down

0 comments on commit 12785f4

Please sign in to comment.