Skip to content

Commit

Permalink
Import Callable from typing, not collections.abc
Browse files Browse the repository at this point in the history
Pylint can’t cope with the latter in Python 3.13.1.
  • Loading branch information
rrthomas committed Dec 11, 2024
1 parent 80cc3d5 commit d3b7ef9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nancy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
import subprocess
import shutil
from logging import debug
from collections.abc import Callable
from typing import List, Union, Optional, Tuple
from typing import Callable, List, Union, Optional, Tuple
import logging

from .warnings_util import simple_warning, die
Expand Down

0 comments on commit d3b7ef9

Please sign in to comment.