Skip to content

Commit

Permalink
Merge pull request #92 from simonsobs/dev
Browse files Browse the repository at this point in the history
Fix type errors
  • Loading branch information
TaiSakuma committed Sep 9, 2024
2 parents a2ef634 + 336f830 commit b35719e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nextline/utils/multiprocessing_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ async def _listen() -> None:
await task


def _initializer(queue: Queue[LogRecord]) -> None:
def _initializer(queue: Queue[LogRecord | None]) -> None:
'''An initializer of ProcessPoolExecutor.'''
handler = QueueHandler(queue)
logger = getLogger()
Expand Down
2 changes: 1 addition & 1 deletion tests/fsm/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def test_restore_from_markup() -> None:
if 'dest' not in transition:
transition['dest'] = None

rebuild = MarkupMachine(model=None, **markup)
rebuild = MarkupMachine(model=None, **markup) # type: ignore
assert rebuild.markup == machine.markup


Expand Down

0 comments on commit b35719e

Please sign in to comment.