Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/astroid/astroid_manager.py: 100%

2 statements  

« prev     ^ index     » next       coverage.py v7.2.7, created at 2023-06-07 06:53 +0000

1""" 

2This file contain the global astroid MANAGER. 

3 

4It prevents a circular import that happened 

5when the only possibility to import it was from astroid.__init__.py. 

6 

7This AstroidManager is a singleton/borg so it's possible to instantiate an 

8AstroidManager() directly. 

9""" 

10 

11# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html 

12# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE 

13# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt 

14 

15from astroid.manager import AstroidManager 

16 

17MANAGER = AstroidManager()