Skip to content

Commit

Permalink
Additional callable import fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtylerwalls committed Jul 8, 2024
1 parent b0f9ce0 commit 0b33db5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion pylint/pyreverse/inspector.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
import os
import traceback
from abc import ABC, abstractmethod
from typing import Callable, Optional
from collections.abc import Callable
from typing import Optional

import astroid
from astroid import nodes
Expand Down
4 changes: 2 additions & 2 deletions pylint/reporters/ureports/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

from __future__ import annotations

from collections.abc import Iterable, Iterator
from typing import Any, Callable, TypeVar
from collections.abc import Callable, Iterable, Iterator
from typing import Any, TypeVar

from pylint.reporters.ureports.base_writer import BaseWriter

Expand Down
4 changes: 2 additions & 2 deletions pylint/utils/ast_walker.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
import sys
import traceback
from collections import defaultdict
from collections.abc import Sequence
from typing import TYPE_CHECKING, Callable
from collections.abc import Callable, Sequence
from typing import TYPE_CHECKING

from astroid import nodes

Expand Down

0 comments on commit 0b33db5

Please sign in to comment.