summaryrefslogtreecommitdiff
path: root/astroid/astroid_manager.py
blob: c8237a54aac64041b993a95dcf1c59eb05a8dd78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
"""
This file contain the global astroid MANAGER, to prevent circular import that happened
when the only possibility to import it was from astroid.__init__.py.

This AstroidManager is a singleton/borg so it's possible to instantiate an
AstroidManager() directly.
"""

# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE


from astroid.manager import AstroidManager

MANAGER = AstroidManager()