Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/libcst/codemod/visitors/__init__.py: 100%

11 statements  

« prev     ^ index     » next       coverage.py v7.3.1, created at 2023-09-25 06:43 +0000

1# Copyright (c) Meta Platforms, Inc. and affiliates. 

2# 

3# This source code is licensed under the MIT license found in the 

4# LICENSE file in the root directory of this source tree. 

5# 

6from libcst.codemod.visitors._add_imports import AddImportsVisitor 

7from libcst.codemod.visitors._apply_type_annotations import ApplyTypeAnnotationsVisitor 

8from libcst.codemod.visitors._gather_comments import GatherCommentsVisitor 

9from libcst.codemod.visitors._gather_exports import GatherExportsVisitor 

10from libcst.codemod.visitors._gather_global_names import GatherGlobalNamesVisitor 

11from libcst.codemod.visitors._gather_imports import GatherImportsVisitor 

12from libcst.codemod.visitors._gather_string_annotation_names import ( 

13 GatherNamesFromStringAnnotationsVisitor, 

14) 

15from libcst.codemod.visitors._gather_unused_imports import GatherUnusedImportsVisitor 

16from libcst.codemod.visitors._imports import ImportItem 

17from libcst.codemod.visitors._remove_imports import RemoveImportsVisitor 

18 

19__all__ = [ 

20 "AddImportsVisitor", 

21 "ApplyTypeAnnotationsVisitor", 

22 "GatherCommentsVisitor", 

23 "GatherExportsVisitor", 

24 "GatherGlobalNamesVisitor", 

25 "GatherImportsVisitor", 

26 "GatherNamesFromStringAnnotationsVisitor", 

27 "GatherUnusedImportsVisitor", 

28 "ImportItem", 

29 "RemoveImportsVisitor", 

30]