PyCG 0.0.7__tar.gz → 0.0.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pycg-0.0.8/.github/workflows/linters.yml +59 -0
- pycg-0.0.8/.github/workflows/test.yaml +27 -0
- pycg-0.0.8/.gitignore +166 -0
- pycg-0.0.8/Makefile +10 -0
- {PyCG-0.0.7 → pycg-0.0.8}/PKG-INFO +9 -7
- pycg-0.0.8/micro-benchmark/snippets/args/assigned_call/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/args/assigned_call/callgraph.json +9 -0
- pycg-0.0.8/micro-benchmark/snippets/args/assigned_call/main.py +8 -0
- pycg-0.0.8/micro-benchmark/snippets/args/call/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/args/call/callgraph.json +9 -0
- pycg-0.0.8/micro-benchmark/snippets/args/call/main.py +7 -0
- pycg-0.0.8/micro-benchmark/snippets/args/imported_assigned_call/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/args/imported_assigned_call/callgraph.json +10 -0
- pycg-0.0.8/micro-benchmark/snippets/args/imported_assigned_call/main.py +7 -0
- pycg-0.0.8/micro-benchmark/snippets/args/imported_assigned_call/to_import.py +2 -0
- pycg-0.0.8/micro-benchmark/snippets/args/imported_call/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/args/imported_call/callgraph.json +10 -0
- pycg-0.0.8/micro-benchmark/snippets/args/imported_call/main.py +6 -0
- pycg-0.0.8/micro-benchmark/snippets/args/imported_call/to_import.py +2 -0
- pycg-0.0.8/micro-benchmark/snippets/args/nested_call/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/args/nested_call/callgraph.json +12 -0
- pycg-0.0.8/micro-benchmark/snippets/args/nested_call/main.py +12 -0
- pycg-0.0.8/micro-benchmark/snippets/args/param_call/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/args/param_call/callgraph.json +11 -0
- pycg-0.0.8/micro-benchmark/snippets/args/param_call/main.py +10 -0
- pycg-0.0.8/micro-benchmark/snippets/assignments/chained/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/assignments/chained/callgraph.json +8 -0
- pycg-0.0.8/micro-benchmark/snippets/assignments/chained/main.py +13 -0
- pycg-0.0.8/micro-benchmark/snippets/assignments/recursive_tuple/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/assignments/recursive_tuple/callgraph.json +16 -0
- pycg-0.0.8/micro-benchmark/snippets/assignments/recursive_tuple/main.py +31 -0
- pycg-0.0.8/micro-benchmark/snippets/assignments/starred/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/assignments/starred/callgraph.json +12 -0
- pycg-0.0.8/micro-benchmark/snippets/assignments/starred/main.py +18 -0
- pycg-0.0.8/micro-benchmark/snippets/assignments/tuple/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/assignments/tuple/callgraph.json +10 -0
- pycg-0.0.8/micro-benchmark/snippets/assignments/tuple/main.py +18 -0
- pycg-0.0.8/micro-benchmark/snippets/builtins/functions/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/builtins/functions/callgraph.json +6 -0
- pycg-0.0.8/micro-benchmark/snippets/builtins/functions/main.py +2 -0
- pycg-0.0.8/micro-benchmark/snippets/builtins/map/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/builtins/map/callgraph.json +15 -0
- pycg-0.0.8/micro-benchmark/snippets/builtins/map/main.py +19 -0
- pycg-0.0.8/micro-benchmark/snippets/builtins/types/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/builtins/types/callgraph.json +10 -0
- pycg-0.0.8/micro-benchmark/snippets/builtins/types/main.py +7 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/assigned_call/README.md +2 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/assigned_call/callgraph.json +6 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/assigned_call/main.py +7 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/assigned_self_call/README.md +3 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/assigned_self_call/callgraph.json +9 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/assigned_self_call/main.py +10 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/base_class_attr/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/base_class_attr/callgraph.json +8 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/base_class_attr/main.py +12 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/base_class_calls_child/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/base_class_calls_child/callgraph.json +15 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/base_class_calls_child/main.py +23 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/call/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/call/callgraph.json +6 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/call/main.py +6 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/direct_call/README.md +2 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/direct_call/callgraph.json +8 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/direct_call/main.py +8 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/imported_attr_access/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/imported_attr_access/callgraph.json +7 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/imported_attr_access/main.py +3 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/imported_attr_access/to_import.py +2 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/imported_call/README.md +2 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/imported_call/callgraph.json +9 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/imported_call/main.py +4 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/imported_call/to_import.py +6 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/imported_call_without_init/README.md +2 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/imported_call_without_init/callgraph.json +7 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/imported_call_without_init/main.py +4 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/imported_call_without_init/to_import.py +3 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/imported_nested_attr_access/README.md +2 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/imported_nested_attr_access/callgraph.json +7 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/imported_nested_attr_access/main.py +3 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/imported_nested_attr_access/nest/imported.py +2 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/nested_call/callgraph.json +9 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/nested_call/main.py +9 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/nested_class_calls/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/nested_class_calls/callgraph.json +16 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/nested_class_calls/main.py +21 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/parameter_call/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/parameter_call/callgraph.json +12 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/parameter_call/main.py +12 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/return_call/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/return_call/callgraph.json +8 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/return_call/main.py +10 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/return_call_direct/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/return_call_direct/callgraph.json +8 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/return_call_direct/main.py +9 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/self_assign_func/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/self_assign_func/callgraph.json +11 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/self_assign_func/main.py +16 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/self_assignment/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/self_assignment/callgraph.json +11 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/self_assignment/main.py +12 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/self_call/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/self_call/callgraph.json +13 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/self_call/main.py +13 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/static_method_call/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/static_method_call/callgraph.json +6 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/static_method_call/main.py +6 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/super_class_return/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/super_class_return/callgraph.json +8 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/super_class_return/main.py +11 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/tuple_assignment/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/tuple_assignment/callgraph.json +14 -0
- pycg-0.0.8/micro-benchmark/snippets/classes/tuple_assignment/main.py +24 -0
- pycg-0.0.8/micro-benchmark/snippets/decorators/assigned/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/decorators/assigned/callgraph.json +9 -0
- pycg-0.0.8/micro-benchmark/snippets/decorators/assigned/main.py +14 -0
- pycg-0.0.8/micro-benchmark/snippets/decorators/call/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/decorators/call/callgraph.json +8 -0
- pycg-0.0.8/micro-benchmark/snippets/decorators/call/main.py +8 -0
- pycg-0.0.8/micro-benchmark/snippets/decorators/nested/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/decorators/nested/callgraph.json +11 -0
- pycg-0.0.8/micro-benchmark/snippets/decorators/nested/main.py +12 -0
- pycg-0.0.8/micro-benchmark/snippets/decorators/nested_decorators/README.md +2 -0
- pycg-0.0.8/micro-benchmark/snippets/decorators/nested_decorators/callgraph.json +17 -0
- pycg-0.0.8/micro-benchmark/snippets/decorators/nested_decorators/main.py +17 -0
- pycg-0.0.8/micro-benchmark/snippets/decorators/param_call/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/decorators/param_call/callgraph.json +10 -0
- pycg-0.0.8/micro-benchmark/snippets/decorators/param_call/main.py +9 -0
- pycg-0.0.8/micro-benchmark/snippets/decorators/return/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/decorators/return/callgraph.json +10 -0
- pycg-0.0.8/micro-benchmark/snippets/decorators/return/main.py +11 -0
- pycg-0.0.8/micro-benchmark/snippets/decorators/return_different_func/README.md +4 -0
- pycg-0.0.8/micro-benchmark/snippets/decorators/return_different_func/callgraph.json +14 -0
- pycg-0.0.8/micro-benchmark/snippets/decorators/return_different_func/main.py +14 -0
- pycg-0.0.8/micro-benchmark/snippets/dicts/add_key/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/dicts/add_key/callgraph.json +6 -0
- pycg-0.0.8/micro-benchmark/snippets/dicts/add_key/main.py +7 -0
- pycg-0.0.8/micro-benchmark/snippets/dicts/assign/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/dicts/assign/callgraph.json +7 -0
- pycg-0.0.8/micro-benchmark/snippets/dicts/assign/main.py +13 -0
- pycg-0.0.8/micro-benchmark/snippets/dicts/call/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/dicts/call/callgraph.json +8 -0
- pycg-0.0.8/micro-benchmark/snippets/dicts/call/main.py +14 -0
- pycg-0.0.8/micro-benchmark/snippets/dicts/ext_key/README.md +2 -0
- pycg-0.0.8/micro-benchmark/snippets/dicts/ext_key/callgraph.json +7 -0
- pycg-0.0.8/micro-benchmark/snippets/dicts/ext_key/ext.py +1 -0
- pycg-0.0.8/micro-benchmark/snippets/dicts/ext_key/main.py +8 -0
- pycg-0.0.8/micro-benchmark/snippets/dicts/nested/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/dicts/nested/callgraph.json +7 -0
- pycg-0.0.8/micro-benchmark/snippets/dicts/nested/main.py +15 -0
- pycg-0.0.8/micro-benchmark/snippets/dicts/new_key_param/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/dicts/new_key_param/callgraph.json +8 -0
- pycg-0.0.8/micro-benchmark/snippets/dicts/new_key_param/main.py +10 -0
- pycg-0.0.8/micro-benchmark/snippets/dicts/param/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/dicts/param/callgraph.json +9 -0
- pycg-0.0.8/micro-benchmark/snippets/dicts/param/main.py +9 -0
- pycg-0.0.8/micro-benchmark/snippets/dicts/param_key/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/dicts/param_key/callgraph.json +11 -0
- pycg-0.0.8/micro-benchmark/snippets/dicts/param_key/main.py +16 -0
- pycg-0.0.8/micro-benchmark/snippets/dicts/return/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/dicts/return/callgraph.json +8 -0
- pycg-0.0.8/micro-benchmark/snippets/dicts/return/main.py +9 -0
- pycg-0.0.8/micro-benchmark/snippets/dicts/return_assign/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/dicts/return_assign/callgraph.json +8 -0
- pycg-0.0.8/micro-benchmark/snippets/dicts/return_assign/main.py +9 -0
- pycg-0.0.8/micro-benchmark/snippets/dicts/type_coercion/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/dicts/type_coercion/callgraph.json +7 -0
- pycg-0.0.8/micro-benchmark/snippets/dicts/type_coercion/main.py +9 -0
- pycg-0.0.8/micro-benchmark/snippets/dicts/update/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/dicts/update/callgraph.json +7 -0
- pycg-0.0.8/micro-benchmark/snippets/dicts/update/main.py +10 -0
- pycg-0.0.8/micro-benchmark/snippets/direct_calls/assigned_call/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/direct_calls/assigned_call/callgraph.json +8 -0
- pycg-0.0.8/micro-benchmark/snippets/direct_calls/assigned_call/main.py +9 -0
- pycg-0.0.8/micro-benchmark/snippets/direct_calls/imported_return_call/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/direct_calls/imported_return_call/callgraph.json +9 -0
- pycg-0.0.8/micro-benchmark/snippets/direct_calls/imported_return_call/main.py +3 -0
- pycg-0.0.8/micro-benchmark/snippets/direct_calls/imported_return_call/to_import.py +5 -0
- pycg-0.0.8/micro-benchmark/snippets/direct_calls/return_call/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/direct_calls/return_call/callgraph.json +10 -0
- pycg-0.0.8/micro-benchmark/snippets/direct_calls/return_call/main.py +10 -0
- pycg-0.0.8/micro-benchmark/snippets/direct_calls/with_parameters/README.md +2 -0
- pycg-0.0.8/micro-benchmark/snippets/direct_calls/with_parameters/callgraph.json +10 -0
- pycg-0.0.8/micro-benchmark/snippets/direct_calls/with_parameters/main.py +10 -0
- pycg-0.0.8/micro-benchmark/snippets/dynamic/eval/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/dynamic/eval/callgraph.json +9 -0
- pycg-0.0.8/micro-benchmark/snippets/dynamic/eval/main.py +4 -0
- pycg-0.0.8/micro-benchmark/snippets/exceptions/raise/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/exceptions/raise/callgraph.json +6 -0
- pycg-0.0.8/micro-benchmark/snippets/exceptions/raise/main.py +5 -0
- pycg-0.0.8/micro-benchmark/snippets/exceptions/raise_assigned/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/exceptions/raise_assigned/callgraph.json +6 -0
- pycg-0.0.8/micro-benchmark/snippets/exceptions/raise_assigned/main.py +6 -0
- pycg-0.0.8/micro-benchmark/snippets/exceptions/raise_attr/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/exceptions/raise_attr/callgraph.json +6 -0
- pycg-0.0.8/micro-benchmark/snippets/exceptions/raise_attr/main.py +6 -0
- pycg-0.0.8/micro-benchmark/snippets/external/attribute/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/external/attribute/callgraph.json +8 -0
- pycg-0.0.8/micro-benchmark/snippets/external/attribute/main.py +4 -0
- pycg-0.0.8/micro-benchmark/snippets/external/attribute_assigned/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/external/attribute_assigned/callgraph.json +11 -0
- pycg-0.0.8/micro-benchmark/snippets/external/attribute_assigned/main.py +8 -0
- pycg-0.0.8/micro-benchmark/snippets/external/cls_parent/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/external/cls_parent/callgraph.json +11 -0
- pycg-0.0.8/micro-benchmark/snippets/external/cls_parent/main.py +8 -0
- pycg-0.0.8/micro-benchmark/snippets/external/function/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/external/function/callgraph.json +6 -0
- pycg-0.0.8/micro-benchmark/snippets/external/function/main.py +3 -0
- pycg-0.0.8/micro-benchmark/snippets/external/function_asname/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/external/function_asname/callgraph.json +6 -0
- pycg-0.0.8/micro-benchmark/snippets/external/function_asname/main.py +3 -0
- pycg-0.0.8/micro-benchmark/snippets/external/function_assigned/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/external/function_assigned/callgraph.json +6 -0
- pycg-0.0.8/micro-benchmark/snippets/external/function_assigned/main.py +5 -0
- pycg-0.0.8/micro-benchmark/snippets/functions/assigned_call/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/functions/assigned_call/callgraph.json +6 -0
- pycg-0.0.8/micro-benchmark/snippets/functions/assigned_call/main.py +5 -0
- pycg-0.0.8/micro-benchmark/snippets/functions/assigned_call_lit_param/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/functions/assigned_call_lit_param/callgraph.json +6 -0
- pycg-0.0.8/micro-benchmark/snippets/functions/assigned_call_lit_param/main.py +6 -0
- pycg-0.0.8/micro-benchmark/snippets/functions/call/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/functions/call/callgraph.json +6 -0
- pycg-0.0.8/micro-benchmark/snippets/functions/call/main.py +4 -0
- pycg-0.0.8/micro-benchmark/snippets/functions/imported_call/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/functions/imported_call/callgraph.json +7 -0
- pycg-0.0.8/micro-benchmark/snippets/functions/imported_call/main.py +4 -0
- pycg-0.0.8/micro-benchmark/snippets/functions/imported_call/to_import.py +2 -0
- pycg-0.0.8/micro-benchmark/snippets/generators/iter_param/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/generators/iter_param/callgraph.json +13 -0
- pycg-0.0.8/micro-benchmark/snippets/generators/iter_param/main.py +21 -0
- pycg-0.0.8/micro-benchmark/snippets/generators/iter_return/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/generators/iter_return/callgraph.json +12 -0
- pycg-0.0.8/micro-benchmark/snippets/generators/iter_return/main.py +21 -0
- pycg-0.0.8/micro-benchmark/snippets/generators/iterable/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/generators/iterable/callgraph.json +13 -0
- pycg-0.0.8/micro-benchmark/snippets/generators/iterable/main.py +17 -0
- pycg-0.0.8/micro-benchmark/snippets/generators/iterable_assigned/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/generators/iterable_assigned/callgraph.json +10 -0
- pycg-0.0.8/micro-benchmark/snippets/generators/iterable_assigned/main.py +20 -0
- pycg-0.0.8/micro-benchmark/snippets/generators/no_iter/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/generators/no_iter/callgraph.json +8 -0
- pycg-0.0.8/micro-benchmark/snippets/generators/no_iter/main.py +17 -0
- pycg-0.0.8/micro-benchmark/snippets/generators/yield/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/generators/yield/callgraph.json +8 -0
- pycg-0.0.8/micro-benchmark/snippets/generators/yield/main.py +11 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/chained_import/README.md +2 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/chained_import/callgraph.json +11 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/chained_import/chained_import.py +2 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/chained_import/from_import.py +4 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/chained_import/main.py +3 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/import_all/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/import_all/callgraph.json +9 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/import_all/from_module.py +5 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/import_all/main.py +4 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/import_as/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/import_as/callgraph.json +6 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/import_as/main.py +4 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/import_as/to_import.py +2 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/import_from/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/import_from/callgraph.json +7 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/import_from/from_module.py +2 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/import_from/main.py +3 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/init_func_import/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/init_func_import/callgraph.json +10 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/init_func_import/main.py +4 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/init_func_import/nested/__init__.py +4 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/init_func_import/nested/mod.py +2 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/init_import/README.md +2 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/init_import/callgraph.json +8 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/init_import/main.py +3 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/init_import/nested/__init__.py +1 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/init_import/nested/nested.py +5 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/parent_import/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/parent_import/callgraph.json +9 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/parent_import/main.py +4 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/parent_import/nested/to_import.py +4 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/parent_import/to_import2.py +2 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/relative_import/README.md +2 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/relative_import/callgraph.json +6 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/relative_import/main.py +4 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/relative_import/to_import.py +2 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/relative_import_with_name/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/relative_import_with_name/__init__.py +0 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/relative_import_with_name/callgraph.json +12 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/relative_import_with_name/main.py +3 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/relative_import_with_name/nested/__init__.py +0 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/relative_import_with_name/nested/relative.py +2 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/relative_import_with_name/nested/to_import.py +4 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/simple_import/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/simple_import/callgraph.json +6 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/simple_import/main.py +4 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/simple_import/to_import.py +2 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import/README.md +3 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import/callgraph.json +8 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import/main.py +4 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import/to_import/__init__.py +2 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import/to_import/to_import.py +2 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_all/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_all/callgraph.json +10 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_all/from_module/__init__.py +0 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_all/from_module/nested_module.py +5 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_all/main.py +4 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_as/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_as/callgraph.json +8 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_as/main.py +4 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_as/to_import/__init__.py +2 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_as/to_import/to_import.py +2 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_from/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_from/callgraph.json +10 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_from/from_module/__init__.py +0 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_from/from_module/nested_module.py +5 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_from/main.py +4 -0
- pycg-0.0.8/micro-benchmark/snippets/kwargs/assigned_call/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/kwargs/assigned_call/callgraph.json +9 -0
- pycg-0.0.8/micro-benchmark/snippets/kwargs/assigned_call/main.py +9 -0
- pycg-0.0.8/micro-benchmark/snippets/kwargs/call/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/kwargs/call/callgraph.json +13 -0
- pycg-0.0.8/micro-benchmark/snippets/kwargs/call/main.py +15 -0
- pycg-0.0.8/micro-benchmark/snippets/kwargs/chained_call/README.md +3 -0
- pycg-0.0.8/micro-benchmark/snippets/kwargs/chained_call/callgraph.json +13 -0
- pycg-0.0.8/micro-benchmark/snippets/kwargs/chained_call/main.py +10 -0
- pycg-0.0.8/micro-benchmark/snippets/lambdas/call/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/lambdas/call/callgraph.json +6 -0
- pycg-0.0.8/micro-benchmark/snippets/lambdas/call/main.py +3 -0
- pycg-0.0.8/micro-benchmark/snippets/lambdas/calls_parameter/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/lambdas/calls_parameter/callgraph.json +11 -0
- pycg-0.0.8/micro-benchmark/snippets/lambdas/calls_parameter/main.py +10 -0
- pycg-0.0.8/micro-benchmark/snippets/lambdas/chained_calls/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/lambdas/chained_calls/callgraph.json +19 -0
- pycg-0.0.8/micro-benchmark/snippets/lambdas/chained_calls/main.py +12 -0
- pycg-0.0.8/micro-benchmark/snippets/lambdas/parameter_call/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/lambdas/parameter_call/callgraph.json +9 -0
- pycg-0.0.8/micro-benchmark/snippets/lambdas/parameter_call/main.py +6 -0
- pycg-0.0.8/micro-benchmark/snippets/lambdas/return_call/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/lambdas/return_call/callgraph.json +8 -0
- pycg-0.0.8/micro-benchmark/snippets/lambdas/return_call/main.py +5 -0
- pycg-0.0.8/micro-benchmark/snippets/lists/comprehension_if/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/lists/comprehension_if/callgraph.json +8 -0
- pycg-0.0.8/micro-benchmark/snippets/lists/comprehension_if/main.py +4 -0
- pycg-0.0.8/micro-benchmark/snippets/lists/comprehension_val/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/lists/comprehension_val/callgraph.json +8 -0
- pycg-0.0.8/micro-benchmark/snippets/lists/comprehension_val/main.py +4 -0
- pycg-0.0.8/micro-benchmark/snippets/lists/ext_index/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/lists/ext_index/callgraph.json +8 -0
- pycg-0.0.8/micro-benchmark/snippets/lists/ext_index/ext.py +1 -0
- pycg-0.0.8/micro-benchmark/snippets/lists/ext_index/main.py +11 -0
- pycg-0.0.8/micro-benchmark/snippets/lists/nested/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/lists/nested/callgraph.json +7 -0
- pycg-0.0.8/micro-benchmark/snippets/lists/nested/main.py +9 -0
- pycg-0.0.8/micro-benchmark/snippets/lists/nested_comprehension/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/lists/nested_comprehension/callgraph.json +10 -0
- pycg-0.0.8/micro-benchmark/snippets/lists/nested_comprehension/main.py +7 -0
- pycg-0.0.8/micro-benchmark/snippets/lists/param_index/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/lists/param_index/callgraph.json +9 -0
- pycg-0.0.8/micro-benchmark/snippets/lists/param_index/main.py +9 -0
- pycg-0.0.8/micro-benchmark/snippets/lists/simple/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/lists/simple/callgraph.json +12 -0
- pycg-0.0.8/micro-benchmark/snippets/lists/simple/main.py +22 -0
- pycg-0.0.8/micro-benchmark/snippets/lists/slice/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/lists/slice/callgraph.json +8 -0
- pycg-0.0.8/micro-benchmark/snippets/lists/slice/main.py +14 -0
- pycg-0.0.8/micro-benchmark/snippets/mro/basic/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/mro/basic/callgraph.json +6 -0
- pycg-0.0.8/micro-benchmark/snippets/mro/basic/main.py +9 -0
- pycg-0.0.8/micro-benchmark/snippets/mro/basic_init/README.md +2 -0
- pycg-0.0.8/micro-benchmark/snippets/mro/basic_init/callgraph.json +8 -0
- pycg-0.0.8/micro-benchmark/snippets/mro/basic_init/main.py +10 -0
- pycg-0.0.8/micro-benchmark/snippets/mro/parents_same_superclass/README.md +12 -0
- pycg-0.0.8/micro-benchmark/snippets/mro/parents_same_superclass/callgraph.json +9 -0
- pycg-0.0.8/micro-benchmark/snippets/mro/parents_same_superclass/main.py +19 -0
- pycg-0.0.8/micro-benchmark/snippets/mro/self_assignment/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/mro/self_assignment/callgraph.json +12 -0
- pycg-0.0.8/micro-benchmark/snippets/mro/self_assignment/main.py +20 -0
- pycg-0.0.8/micro-benchmark/snippets/mro/super_call/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/mro/super_call/callgraph.json +15 -0
- pycg-0.0.8/micro-benchmark/snippets/mro/super_call/main.py +13 -0
- pycg-0.0.8/micro-benchmark/snippets/mro/two_parents/README.md +2 -0
- pycg-0.0.8/micro-benchmark/snippets/mro/two_parents/callgraph.json +9 -0
- pycg-0.0.8/micro-benchmark/snippets/mro/two_parents/main.py +16 -0
- pycg-0.0.8/micro-benchmark/snippets/mro/two_parents_method_defined/README.md +2 -0
- pycg-0.0.8/micro-benchmark/snippets/mro/two_parents_method_defined/callgraph.json +10 -0
- pycg-0.0.8/micro-benchmark/snippets/mro/two_parents_method_defined/main.py +17 -0
- pycg-0.0.8/micro-benchmark/snippets/returns/call/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/returns/call/callgraph.json +8 -0
- pycg-0.0.8/micro-benchmark/snippets/returns/call/main.py +8 -0
- pycg-0.0.8/micro-benchmark/snippets/returns/imported_call/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/returns/imported_call/callgraph.json +9 -0
- pycg-0.0.8/micro-benchmark/snippets/returns/imported_call/main.py +4 -0
- pycg-0.0.8/micro-benchmark/snippets/returns/imported_call/to_import.py +5 -0
- pycg-0.0.8/micro-benchmark/snippets/returns/nested_import_call/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/returns/nested_import_call/callgraph.json +10 -0
- pycg-0.0.8/micro-benchmark/snippets/returns/nested_import_call/main.py +4 -0
- pycg-0.0.8/micro-benchmark/snippets/returns/nested_import_call/to_import.py +4 -0
- pycg-0.0.8/micro-benchmark/snippets/returns/nested_import_call/to_import2.py +2 -0
- pycg-0.0.8/micro-benchmark/snippets/returns/return_complex/README.md +1 -0
- pycg-0.0.8/micro-benchmark/snippets/returns/return_complex/callgraph.json +17 -0
- pycg-0.0.8/micro-benchmark/snippets/returns/return_complex/main.py +21 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/assignments/chained/README.md +1 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/assignments/chained/key_errs.json +14 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/assignments/chained/main.py +6 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/assignments/recursive_tuple/README.md +1 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/assignments/recursive_tuple/key_errs.json +8 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/assignments/recursive_tuple/main.py +7 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/assignments/starred/README.md +1 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/assignments/starred/key_errs.json +14 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/assignments/starred/main.py +8 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/assigned_str/README.md +2 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/assigned_str/key_errs.json +8 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/assigned_str/main.py +7 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/base_class_const/README.md +1 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/base_class_const/key_errs.json +8 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/base_class_const/main.py +11 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/return_str/README.md +2 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/return_str/key_errs.json +8 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/return_str/main.py +8 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/self_assignment/README.md +2 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/self_assignment/key_errs.json +8 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/self_assignment/main.py +8 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/self_const/README.md +1 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/self_const/key_errs.json +8 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/self_const/main.py +9 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/self_dict/README.md +1 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/self_dict/key_errs.json +8 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/self_dict/main.py +7 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/add_key/README.md +1 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/add_key/key_errs.json +8 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/add_key/main.py +5 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/ext_key/README.md +1 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/ext_key/ext.py +1 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/ext_key/key_errs.json +8 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/ext_key/main.py +4 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/mutable_param/README.md +2 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/mutable_param/key_errs.json +8 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/mutable_param/main.py +7 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/nested/README.md +1 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/nested/key_errs.json +14 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/nested/main.py +9 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/return/README.md +1 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/return/key_errs.json +8 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/return/main.py +6 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/return_direct/README.md +1 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/return_direct/key_errs.json +8 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/return_direct/main.py +5 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/simple/README.md +1 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/simple/key_errs.json +8 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/simple/main.py +3 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/type_coercion/README.md +1 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/type_coercion/key_errs.json +8 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/type_coercion/main.py +3 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/update/README.md +1 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/update/key_errs.json +1 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/update/main.py +3 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/kwargs/assigned_call/README.md +2 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/kwargs/assigned_call/key_errs.json +8 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/kwargs/assigned_call/main.py +8 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/kwargs/call/README.md +2 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/kwargs/call/key_errs.json +8 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/kwargs/call/main.py +7 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/lists/comprehension/README.md +1 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/lists/comprehension/key_errs.json +8 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/lists/comprehension/main.py +3 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/lists/list_str/README.md +1 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/lists/list_str/key_errs.json +8 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/lists/list_str/main.py +5 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/parameters/assigned_call/README.md +2 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/parameters/assigned_call/key_errs.json +8 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/parameters/assigned_call/main.py +8 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/parameters/call/README.md +2 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/parameters/call/key_errs.json +8 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/parameters/call/main.py +7 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/parameters/imported_assigned_call/README.md +1 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/parameters/imported_assigned_call/key_errs.json +8 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/parameters/imported_assigned_call/main.py +11 -0
- pycg-0.0.8/micro-benchmark-key-errs/snippets/parameters/imported_assigned_call/to_import.py +2 -0
- pycg-0.0.8/pycg/__init__.py +0 -0
- {PyCG-0.0.7 → pycg-0.0.8}/pycg/formats/fasten.py +3 -3
- pycg-0.0.8/pycg/machinery/__init__.py +0 -0
- {PyCG-0.0.7 → pycg-0.0.8}/pycg/machinery/key_err.py +3 -3
- pycg-0.0.8/pycg/processing/__init__.py +0 -0
- {PyCG-0.0.7 → pycg-0.0.8}/pycg/pycg.py +3 -3
- pycg-0.0.8/pycg/tests/base.py +25 -0
- pycg-0.0.8/pycg/tests/callgraph_test.py +87 -0
- pycg-0.0.8/pycg/tests/definitions_test.py +90 -0
- pycg-0.0.8/pycg/tests/fasten_format_test.py +319 -0
- pycg-0.0.8/pycg/tests/imports_test.py +189 -0
- pycg-0.0.8/pycg/tests/pointers_test.py +112 -0
- pycg-0.0.8/pycg/tests/scopes_test.py +217 -0
- {PyCG-0.0.7 → pycg-0.0.8}/pyproject.toml +17 -1
- pycg-0.0.8/requirements-dev.txt +4 -0
- {PyCG-0.0.7 → pycg-0.0.8}/setup.cfg +0 -5
- {PyCG-0.0.7 → pycg-0.0.8}/setup.py +1 -1
- pycg-0.0.8/setup_devenv.sh +148 -0
- PyCG-0.0.7/PyCG.egg-info/PKG-INFO +0 -159
- PyCG-0.0.7/PyCG.egg-info/SOURCES.txt +0 -65
- PyCG-0.0.7/PyCG.egg-info/dependency_links.txt +0 -1
- PyCG-0.0.7/PyCG.egg-info/entry_points.txt +0 -2
- PyCG-0.0.7/PyCG.egg-info/top_level.txt +0 -3
- PyCG-0.0.7/micro-benchmark/args_test.py +0 -25
- PyCG-0.0.7/micro-benchmark/assignments_test.py +0 -19
- PyCG-0.0.7/micro-benchmark/builtins_test.py +0 -16
- PyCG-0.0.7/micro-benchmark/classes_test.py +0 -73
- PyCG-0.0.7/micro-benchmark/decorators_test.py +0 -28
- PyCG-0.0.7/micro-benchmark/dicts_test.py +0 -43
- PyCG-0.0.7/micro-benchmark/direct_calls_test.py +0 -19
- PyCG-0.0.7/micro-benchmark/dynamic_test.py +0 -10
- PyCG-0.0.7/micro-benchmark/exceptions_test.py +0 -16
- PyCG-0.0.7/micro-benchmark/external_test.py +0 -25
- PyCG-0.0.7/micro-benchmark/functions_test.py +0 -19
- PyCG-0.0.7/micro-benchmark/generators_test.py +0 -25
- PyCG-0.0.7/micro-benchmark/imports_test.py +0 -49
- PyCG-0.0.7/micro-benchmark/kwargs_test.py +0 -16
- PyCG-0.0.7/micro-benchmark/lambdas_test.py +0 -22
- PyCG-0.0.7/micro-benchmark/lists_test.py +0 -31
- PyCG-0.0.7/micro-benchmark/mro_test.py +0 -28
- PyCG-0.0.7/micro-benchmark/returns_test.py +0 -19
- {PyCG-0.0.7 → pycg-0.0.8}/LICENCE +0 -0
- {PyCG-0.0.7 → pycg-0.0.8}/README.md +0 -0
- {PyCG-0.0.7 → pycg-0.0.8}/micro-benchmark/__init__.py +0 -0
- {PyCG-0.0.7 → pycg-0.0.8}/micro-benchmark/base.py +0 -0
- {PyCG-0.0.7 → pycg-0.0.8}/micro-benchmark/create_pytests.py +0 -0
- {PyCG-0.0.7/pycg → pycg-0.0.8/micro-benchmark/snippets/imports/parent_import}/__init__.py +0 -0
- {PyCG-0.0.7/pycg/machinery → pycg-0.0.8/micro-benchmark/snippets/imports/parent_import/nested}/__init__.py +0 -0
- {PyCG-0.0.7/pycg/processing → pycg-0.0.8/micro-benchmark/snippets/imports/relative_import}/__init__.py +0 -0
- {PyCG-0.0.7 → pycg-0.0.8}/micro-benchmark-key-errs/__init__.py +0 -0
- {PyCG-0.0.7 → pycg-0.0.8}/micro-benchmark-key-errs/base.py +0 -0
- {PyCG-0.0.7 → pycg-0.0.8}/micro-benchmark-key-errs/create_pytests.py +0 -0
- {PyCG-0.0.7 → pycg-0.0.8}/pycg/__main__.py +0 -0
- {PyCG-0.0.7 → pycg-0.0.8}/pycg/formats/__init__.py +0 -0
- {PyCG-0.0.7 → pycg-0.0.8}/pycg/formats/as_graph.py +0 -0
- {PyCG-0.0.7 → pycg-0.0.8}/pycg/formats/base.py +0 -0
- {PyCG-0.0.7 → pycg-0.0.8}/pycg/formats/simple.py +0 -0
- {PyCG-0.0.7 → pycg-0.0.8}/pycg/machinery/callgraph.py +0 -0
- {PyCG-0.0.7 → pycg-0.0.8}/pycg/machinery/classes.py +0 -0
- {PyCG-0.0.7 → pycg-0.0.8}/pycg/machinery/definitions.py +0 -0
- {PyCG-0.0.7 → pycg-0.0.8}/pycg/machinery/imports.py +0 -0
- {PyCG-0.0.7 → pycg-0.0.8}/pycg/machinery/modules.py +0 -0
- {PyCG-0.0.7 → pycg-0.0.8}/pycg/machinery/pointers.py +0 -0
- {PyCG-0.0.7 → pycg-0.0.8}/pycg/machinery/scopes.py +0 -0
- {PyCG-0.0.7 → pycg-0.0.8}/pycg/processing/base.py +0 -0
- {PyCG-0.0.7 → pycg-0.0.8}/pycg/processing/cgprocessor.py +0 -0
- {PyCG-0.0.7 → pycg-0.0.8}/pycg/processing/keyerrprocessor.py +0 -0
- {PyCG-0.0.7 → pycg-0.0.8}/pycg/processing/postprocessor.py +0 -0
- {PyCG-0.0.7 → pycg-0.0.8}/pycg/processing/preprocessor.py +0 -0
- {PyCG-0.0.7 → pycg-0.0.8}/pycg/utils/__init__.py +0 -0
- {PyCG-0.0.7 → pycg-0.0.8}/pycg/utils/common.py +0 -0
- {PyCG-0.0.7 → pycg-0.0.8}/pycg/utils/constants.py +0 -0
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
name: Linters
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
push:
|
|
6
|
+
branches:
|
|
7
|
+
- main
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
concurrency:
|
|
11
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
12
|
+
cancel-in-progress: true
|
|
13
|
+
|
|
14
|
+
permissions:
|
|
15
|
+
contents: read
|
|
16
|
+
|
|
17
|
+
jobs:
|
|
18
|
+
flake8:
|
|
19
|
+
name: flake8
|
|
20
|
+
runs-on: ubuntu-latest
|
|
21
|
+
steps:
|
|
22
|
+
- name: Checkout
|
|
23
|
+
uses: actions/checkout@v3
|
|
24
|
+
- name: Set up Python
|
|
25
|
+
uses: actions/setup-python@v4
|
|
26
|
+
with:
|
|
27
|
+
python-version: '3.10'
|
|
28
|
+
- run: python -m pip install flake8
|
|
29
|
+
- name: flake8
|
|
30
|
+
# Pinned to v2.0.0.
|
|
31
|
+
uses: liskin/gh-problem-matcher-wrap@d8afa2cfb66dd3f982b1950429e652bc14d0d7d2
|
|
32
|
+
with:
|
|
33
|
+
linters: flake8
|
|
34
|
+
run: flake8 --max-line-length 89 --ignore=E203,W503 pycg
|
|
35
|
+
|
|
36
|
+
isort:
|
|
37
|
+
runs-on: ubuntu-latest
|
|
38
|
+
steps:
|
|
39
|
+
- name: Checkout
|
|
40
|
+
uses: actions/checkout@v3
|
|
41
|
+
- name: Set up Python
|
|
42
|
+
uses: actions/setup-python@v4
|
|
43
|
+
with:
|
|
44
|
+
python-version: '3.10'
|
|
45
|
+
- run: python -m pip install isort
|
|
46
|
+
- name: isort
|
|
47
|
+
# Pinned to v2.0.0.
|
|
48
|
+
uses: liskin/gh-problem-matcher-wrap@d8afa2cfb66dd3f982b1950429e652bc14d0d7d2
|
|
49
|
+
with:
|
|
50
|
+
linters: isort
|
|
51
|
+
run: isort --check --diff pycg
|
|
52
|
+
|
|
53
|
+
black:
|
|
54
|
+
runs-on: ubuntu-latest
|
|
55
|
+
steps:
|
|
56
|
+
- name: Checkout
|
|
57
|
+
uses: actions/checkout@v3
|
|
58
|
+
- name: black
|
|
59
|
+
uses: psf/black@stable
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
name: Tests
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
push:
|
|
6
|
+
branches:
|
|
7
|
+
- main
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
Test:
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
|
|
13
|
+
steps:
|
|
14
|
+
- name: Checkout Repository
|
|
15
|
+
uses: actions/checkout@v2
|
|
16
|
+
|
|
17
|
+
- name: Set up Python
|
|
18
|
+
uses: actions/setup-python@v2
|
|
19
|
+
with:
|
|
20
|
+
python-version: '3.10'
|
|
21
|
+
|
|
22
|
+
- name: Install Dependencies
|
|
23
|
+
run: |
|
|
24
|
+
pip3 install mock
|
|
25
|
+
|
|
26
|
+
- name: Run Tests
|
|
27
|
+
run: make test
|
pycg-0.0.8/.gitignore
ADDED
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
build/
|
|
12
|
+
develop-eggs/
|
|
13
|
+
dist/
|
|
14
|
+
downloads/
|
|
15
|
+
eggs/
|
|
16
|
+
.eggs/
|
|
17
|
+
lib/
|
|
18
|
+
lib64/
|
|
19
|
+
parts/
|
|
20
|
+
sdist/
|
|
21
|
+
var/
|
|
22
|
+
wheels/
|
|
23
|
+
share/python-wheels/
|
|
24
|
+
*.egg-info/
|
|
25
|
+
.installed.cfg
|
|
26
|
+
*.egg
|
|
27
|
+
MANIFEST
|
|
28
|
+
|
|
29
|
+
# PyInstaller
|
|
30
|
+
# Usually these files are written by a python script from a template
|
|
31
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
32
|
+
*.manifest
|
|
33
|
+
*.spec
|
|
34
|
+
|
|
35
|
+
# Installer logs
|
|
36
|
+
pip-log.txt
|
|
37
|
+
pip-delete-this-directory.txt
|
|
38
|
+
|
|
39
|
+
# Unit test / coverage reports
|
|
40
|
+
htmlcov/
|
|
41
|
+
.tox/
|
|
42
|
+
.nox/
|
|
43
|
+
.coverage
|
|
44
|
+
.coverage.*
|
|
45
|
+
.cache
|
|
46
|
+
nosetests.xml
|
|
47
|
+
coverage.xml
|
|
48
|
+
*.cover
|
|
49
|
+
*.py,cover
|
|
50
|
+
.hypothesis/
|
|
51
|
+
.pytest_cache/
|
|
52
|
+
cover/
|
|
53
|
+
|
|
54
|
+
# Translations
|
|
55
|
+
*.mo
|
|
56
|
+
*.pot
|
|
57
|
+
|
|
58
|
+
# Django stuff:
|
|
59
|
+
*.log
|
|
60
|
+
local_settings.py
|
|
61
|
+
db.sqlite3
|
|
62
|
+
db.sqlite3-journal
|
|
63
|
+
|
|
64
|
+
# Flask stuff:
|
|
65
|
+
instance/
|
|
66
|
+
.webassets-cache
|
|
67
|
+
|
|
68
|
+
# Scrapy stuff:
|
|
69
|
+
.scrapy
|
|
70
|
+
|
|
71
|
+
# Sphinx documentation
|
|
72
|
+
docs/_build/
|
|
73
|
+
|
|
74
|
+
# PyBuilder
|
|
75
|
+
.pybuilder/
|
|
76
|
+
target/
|
|
77
|
+
|
|
78
|
+
# Jupyter Notebook
|
|
79
|
+
.ipynb_checkpoints
|
|
80
|
+
|
|
81
|
+
# IPython
|
|
82
|
+
profile_default/
|
|
83
|
+
ipython_config.py
|
|
84
|
+
|
|
85
|
+
# pyenv
|
|
86
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
87
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
88
|
+
# .python-version
|
|
89
|
+
|
|
90
|
+
# pipenv
|
|
91
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
92
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
93
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
94
|
+
# install all needed dependencies.
|
|
95
|
+
#Pipfile.lock
|
|
96
|
+
|
|
97
|
+
# poetry
|
|
98
|
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
99
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
100
|
+
# commonly ignored for libraries.
|
|
101
|
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
102
|
+
#poetry.lock
|
|
103
|
+
|
|
104
|
+
# pdm
|
|
105
|
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
106
|
+
#pdm.lock
|
|
107
|
+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
|
|
108
|
+
# in version control.
|
|
109
|
+
# https://pdm.fming.dev/#use-with-ide
|
|
110
|
+
.pdm.toml
|
|
111
|
+
|
|
112
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
113
|
+
__pypackages__/
|
|
114
|
+
|
|
115
|
+
# Celery stuff
|
|
116
|
+
celerybeat-schedule
|
|
117
|
+
celerybeat.pid
|
|
118
|
+
|
|
119
|
+
# SageMath parsed files
|
|
120
|
+
*.sage.py
|
|
121
|
+
|
|
122
|
+
# Environments
|
|
123
|
+
.env
|
|
124
|
+
.venv
|
|
125
|
+
env/
|
|
126
|
+
venv/
|
|
127
|
+
ENV/
|
|
128
|
+
env.bak/
|
|
129
|
+
venv.bak/
|
|
130
|
+
|
|
131
|
+
# Spyder project settings
|
|
132
|
+
.spyderproject
|
|
133
|
+
.spyproject
|
|
134
|
+
|
|
135
|
+
# Rope project settings
|
|
136
|
+
.ropeproject
|
|
137
|
+
|
|
138
|
+
# mkdocs documentation
|
|
139
|
+
/site
|
|
140
|
+
|
|
141
|
+
# mypy
|
|
142
|
+
.mypy_cache/
|
|
143
|
+
.dmypy.json
|
|
144
|
+
dmypy.json
|
|
145
|
+
|
|
146
|
+
# Pyre type checker
|
|
147
|
+
.pyre/
|
|
148
|
+
|
|
149
|
+
# pytype static type analyzer
|
|
150
|
+
.pytype/
|
|
151
|
+
|
|
152
|
+
# Cython debug symbols
|
|
153
|
+
cython_debug/
|
|
154
|
+
|
|
155
|
+
# PyCharm
|
|
156
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
157
|
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
158
|
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
159
|
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
160
|
+
#.idea/
|
|
161
|
+
|
|
162
|
+
# Others
|
|
163
|
+
*.pyc
|
|
164
|
+
*.sw*
|
|
165
|
+
micro-benchmark/*_test.py
|
|
166
|
+
micro-benchmark-key-errs/*_test.py
|
pycg-0.0.8/Makefile
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
test:
|
|
2
|
+
python3 -m unittest discover -s pycg/tests -p "*_test.py"
|
|
3
|
+
|
|
4
|
+
functional_test:
|
|
5
|
+
./micro-benchmark/create_pytests.py
|
|
6
|
+
SNIPPETS_PATH="micro-benchmark/snippets" CALL_GRAPH_MODULE="pycg.pycg" CALL_GRAPH_CLASS="CallGraphGenerator" python3 -m unittest discover -s micro-benchmark -p "*_test.py"
|
|
7
|
+
|
|
8
|
+
key_err_test:
|
|
9
|
+
./micro-benchmark-key-errs/create_pytests.py
|
|
10
|
+
SNIPPETS_PATH="micro-benchmark-key-errs/snippets" CALL_GRAPH_MODULE="pycg.pycg" CALL_GRAPH_CLASS="CallGraphGenerator" python3 -m unittest discover -s micro-benchmark-key-errs -p "*_test.py"
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: PyCG
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.8
|
|
4
4
|
Summary: PyCG - Practical Python Call Graphs
|
|
5
|
-
Home-page: https://github.com/vitsalis/pycg
|
|
6
|
-
Author: Vitalis Salis
|
|
7
|
-
Author-email: vitsalis@gmail.com
|
|
8
|
-
License: Apache Software License
|
|
9
5
|
Project-URL: Homepage, https://github.com/vitsalis/PyCG
|
|
10
6
|
Project-URL: Bug Tracker, https://github.com/vitsalis/PyCG/issues
|
|
7
|
+
Author-email: Vitalis Salis <vitsalis@gmail.com>
|
|
8
|
+
License-File: LICENCE
|
|
11
9
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
12
10
|
Classifier: Programming Language :: Python :: 3
|
|
13
11
|
Requires-Python: >=3.4
|
|
12
|
+
Provides-Extra: dev
|
|
13
|
+
Requires-Dist: black>=22.12.0; extra == 'dev'
|
|
14
|
+
Requires-Dist: flake8>=6.0.0; extra == 'dev'
|
|
15
|
+
Requires-Dist: isort>=5.12.0; extra == 'dev'
|
|
16
|
+
Requires-Dist: mock; extra == 'dev'
|
|
14
17
|
Description-Content-Type: text/markdown
|
|
15
|
-
License-File: LICENCE
|
|
16
18
|
|
|
17
19
|
# PyCG - Practical Python Call Graphs
|
|
18
20
|
|
|
@@ -156,4 +158,4 @@ pip3 install mock
|
|
|
156
158
|
Τhen, simply run the tests by executing:
|
|
157
159
|
```
|
|
158
160
|
make test
|
|
159
|
-
```
|
|
161
|
+
```
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
A function `func` is defined which takes as a parameter a variable which has a function assigned to it which it later calls.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
A function `func` is defined which takes as a parameter a function which it later calls.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Import a function from another module and call it with a function parameter which as been assigned to a variable.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Import a function from another module and call it with a function parameter
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Now the parameter function calls a nested function.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
A parameter is passed as the return value of a different function call.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Two variables are assigned a function via chained assignment.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Three variables are assigned a value via a recursive tuple assignment.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
def func1():
|
|
2
|
+
pass
|
|
3
|
+
|
|
4
|
+
def func2():
|
|
5
|
+
pass
|
|
6
|
+
|
|
7
|
+
def func3():
|
|
8
|
+
pass
|
|
9
|
+
|
|
10
|
+
def func4():
|
|
11
|
+
pass
|
|
12
|
+
|
|
13
|
+
def func5():
|
|
14
|
+
pass
|
|
15
|
+
|
|
16
|
+
def func6():
|
|
17
|
+
pass
|
|
18
|
+
|
|
19
|
+
a, (b, c) = func1, (func2, func3)
|
|
20
|
+
a()
|
|
21
|
+
b()
|
|
22
|
+
c()
|
|
23
|
+
|
|
24
|
+
a, (b, (c, d)) = func1, (func2, (func3, func4))
|
|
25
|
+
|
|
26
|
+
d()
|
|
27
|
+
|
|
28
|
+
f, b = c, e = func5, func6
|
|
29
|
+
|
|
30
|
+
e()
|
|
31
|
+
f()
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Functions are assigned to variables via starred assignment
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Two variables are assigned a value via a tuple assignment.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
A builtin function is called.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
A function is applied to elements of a list via map.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Calling of builtin functions of types.
|