summaryrefslogtreecommitdiff
path: root/astroid/__init__.py
diff options
context:
space:
mode:
authorDaniël van Noord <13665637+DanielNoord@users.noreply.github.com>2023-04-01 21:52:37 +0200
committerDaniël van Noord <13665637+DanielNoord@users.noreply.github.com>2023-04-01 22:16:36 +0200
commit0268b762a2f86b43a544df211f2b4ddeec28c7d9 (patch)
tree79348550f4208e00897ccb6407761b3285dfb078 /astroid/__init__.py
parentcff437ab3bfed3ec04958765ce4bd560a22c9220 (diff)
downloadastroid-git-0268b762a2f86b43a544df211f2b4ddeec28c7d9.tar.gz
Fix sorting in ``__init__.py``
Diffstat (limited to 'astroid/__init__.py')
-rw-r--r--astroid/__init__.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/astroid/__init__.py b/astroid/__init__.py
index abb9a116..88a0c374 100644
--- a/astroid/__init__.py
+++ b/astroid/__init__.py
@@ -35,15 +35,13 @@ import tokenize
from importlib import import_module
# isort: off
-# We have an isort: off on '__version__' because the packaging need to access
-# the version before the dependencies are installed (in particular 'wrapt'
-# that is imported in astroid.inference)
-from astroid.__pkginfo__ import __version__, version
+# We have an isort: off on '__version__' because of a circular import in nodes.
from astroid.nodes import node_classes, scoped_nodes
# isort: on
from astroid import inference, raw_building
+from astroid.__pkginfo__ import __version__, version
from astroid.astroid_manager import MANAGER
from astroid.bases import BaseInstance, BoundMethod, Instance, UnboundMethod
from astroid.brain.helpers import register_module_extender