Skip to content

Commit

Permalink
Use collections.abc.Callable instead of deprecated typing.Callable
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Fish committed Oct 23, 2024
1 parent 076d697 commit 015f25d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sim_recon/settings/formatting.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
from typing import TYPE_CHECKING, Any

if TYPE_CHECKING:
from typing import Callable, Literal
from typing import Literal
from collections.abc import Callable

# Using the logic from RawConfigParser for consistency
_boolean_conv = RawConfigParser()._convert_to_boolean # type: ignore[attr-defined]
Expand Down

0 comments on commit 015f25d

Please sign in to comment.