PyCG 0.0.8__tar.gz → 1.0.0__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-1.0.0/.gitignore +29 -0
- pycg-1.0.0/PKG-INFO +169 -0
- pycg-1.0.0/README.md +155 -0
- pycg-1.0.0/docs/design.md +4779 -0
- pycg-1.0.0/docs/format.md +267 -0
- pycg-1.0.0/pycg/__init__.py +1 -0
- pycg-1.0.0/pycg/__main__.py +68 -0
- pycg-1.0.0/pycg/analysis/annotations.py +767 -0
- pycg-1.0.0/pycg/analysis/arguments.py +233 -0
- pycg-1.0.0/pycg/analysis/attributes.py +609 -0
- pycg-1.0.0/pycg/analysis/builder.py +1295 -0
- pycg-1.0.0/pycg/analysis/builtin_models.py +336 -0
- pycg-1.0.0/pycg/analysis/builtin_rules.py +946 -0
- pycg-1.0.0/pycg/analysis/containers.py +1146 -0
- pycg-1.0.0/pycg/analysis/expressions.py +856 -0
- pycg-1.0.0/pycg/analysis/flow.py +227 -0
- pycg-1.0.0/pycg/analysis/hierarchy.py +1032 -0
- pycg-1.0.0/pycg/analysis/imports.py +285 -0
- pycg-1.0.0/pycg/analysis/library.py +375 -0
- pycg-1.0.0/pycg/analysis/matching.py +217 -0
- pycg-1.0.0/pycg/analysis/model.py +425 -0
- pycg-1.0.0/pycg/analysis/mro.py +79 -0
- pycg-1.0.0/pycg/analysis/narrowing.py +512 -0
- pycg-1.0.0/pycg/analysis/outside.py +1236 -0
- pycg-1.0.0/pycg/analysis/patterns.py +278 -0
- pycg-1.0.0/pycg/analysis/program.py +348 -0
- pycg-1.0.0/pycg/analysis/protocols.py +595 -0
- pycg-1.0.0/pycg/analysis/reflection.py +172 -0
- pycg-1.0.0/pycg/analysis/scopes.py +558 -0
- pycg-1.0.0/pycg/analysis/semantics.py +1114 -0
- pycg-1.0.0/pycg/analysis/solver.py +902 -0
- pycg-1.0.0/pycg/analysis/stub_data/LICENSE +237 -0
- pycg-1.0.0/pycg/analysis/stub_data/README.md +232 -0
- pycg-1.0.0/pycg/analysis/stub_data/__future__.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/__main__.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_ast.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_asyncio.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_bisect.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_blake2.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_bz2.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_codecs.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_collections_abc.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_colorize.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_compat_pickle.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_compression.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_contextvars.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_csv.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_ctypes.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_curses.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_curses_panel.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_dbm.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_decimal.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_frozen_importlib.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_frozen_importlib_external.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_gdbm.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_hashlib.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_heapq.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_imp.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_interpchannels.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_interpqueues.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_interpreters.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_io.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_json.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_locale.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_lsprof.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_lzma.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_markupbase.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_msi.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_multibytecodec.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_operator.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_osx_support.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_pickle.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_posixsubprocess.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_py_abc.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_pydecimal.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_queue.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_random.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_remote_debugging.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_sitebuiltins.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_socket.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_sqlite3.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_ssl.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_stat.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_struct.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_thread.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_threading_local.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_tkinter.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_tracemalloc.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_typeshed.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_warnings.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_weakref.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_weakrefset.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_winapi.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/_zstd.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/abc.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/aifc.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/annotationlib.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/antigravity.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/argparse.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/array.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/ast.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/asynchat.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/asyncio.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/asyncore.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/atexit.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/audioop.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/base64.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/bdb.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/binascii.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/binhex.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/bisect.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/builtins.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/bz2.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/cProfile.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/calendar.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/cgi.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/cgitb.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/chunk.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/cmath.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/cmd.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/code.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/codecs.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/codeop.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/collections.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/colorsys.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/compileall.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/compression.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/concurrent.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/configparser.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/contextlib.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/contextvars.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/copy.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/copyreg.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/crypt.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/csv.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/ctypes.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/curses.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/dataclasses.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/datetime.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/dbm.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/decimal.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/difflib.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/dis.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/distutils.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/doctest.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/email.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/encodings.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/ensurepip.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/enum.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/errno.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/faulthandler.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/fcntl.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/filecmp.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/fileinput.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/fnmatch.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/fractions.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/ftplib.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/functools.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/gc.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/genericpath.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/getopt.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/getpass.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/gettext.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/glob.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/graphlib.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/grp.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/gzip.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/hashlib.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/heapq.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/hmac.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/html.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/http.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/imaplib.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/imghdr.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/imp.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/importlib.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/inspect.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/io.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/ipaddress.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/itertools.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/json.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/keyword.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/lib2to3.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/linecache.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/locale.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/logging.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/lzma.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/mailbox.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/mailcap.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/marshal.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/math.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/mimetypes.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/mmap.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/modulefinder.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/msilib.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/msvcrt.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/multiprocessing.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/netrc.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/nis.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/nntplib.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/nt.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/ntpath.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/nturl2path.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/numbers.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/opcode.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/operator.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/optparse.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/os.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/ossaudiodev.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/pathlib.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/pdb.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/pickle.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/pickletools.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/pipes.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/pkgutil.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/platform.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/plistlib.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/poplib.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/posix.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/posixpath.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/pprint.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/profile.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/profiling.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/pstats.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/pty.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/pwd.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/py_compile.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/pyclbr.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/pydoc.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/pydoc_data.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/pyexpat.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/queue.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/quopri.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/random.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/re.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/readline.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/reprlib.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/resource.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/rlcompleter.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/runpy.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/sched.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/secrets.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/select.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/selectors.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/shelve.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/shlex.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/shutil.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/signal.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/site.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/smtpd.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/smtplib.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/sndhdr.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/socket.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/socketserver.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/spwd.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/sqlite3.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/sre_compile.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/sre_constants.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/sre_parse.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/ssl.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/stat.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/statistics.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/string.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/stringprep.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/struct.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/subprocess.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/sunau.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/symtable.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/sys.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/sysconfig.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/syslog.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/tabnanny.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/tarfile.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/telnetlib.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/tempfile.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/termios.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/textwrap.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/Jetson.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/MySQLdb.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/PyInstaller.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/RPi.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/Xlib.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/_cffi_backend.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/_jsonnet.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/_win32typing.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/aiofiles.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/antlr4.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/assertpy.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/atheris.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/authlib.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/aws_xray_sdk.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/behave.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/bleach.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/boltons.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/braintree.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/bugbear.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/capturer.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/cffi.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/channels.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/chevron.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/click_default_group.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/click_log.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/click_shell.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/click_spinner.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/click_web.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/colorama.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/colorful.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/commctrl.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/consolemenu.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/convertdate.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/croniter.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/cronlog.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/crontab.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/crontabs.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/cups.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/datauri.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/dateparser.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/dateparser_data.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/dateutil.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/dde.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/decorator.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/defusedxml.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/deprecated.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/dirhash.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/django_filters.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/docker.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/dockerfile_parse.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/docutils.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/editdistance.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/entrypoints.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/ephem.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/et_xmlfile.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/fanstatic.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/farmhash.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/first.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/flake8.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/flake8_builtins.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/flake8_docstrings.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/flake8_rst_docstrings.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/flake8_simplify.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/flask_cors.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/flask_migrate.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/flask_socketio.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/gdb.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/geojson.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/geopandas.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/gevent.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/google.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/greenlet.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/grpc.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/grpc_channelz.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/grpc_health.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/grpc_reflection.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/grpc_status.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/gunicorn.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/hdbcli.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/hnswlib.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/html5lib.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/httplib2.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/httpretty.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/hvac.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/ibm_db.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/ibm_db_ctx.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/import_export.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/inifile.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/isapi.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/jack.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/jenkins.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/jks.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/jmespath.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/jose.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/jsonschema.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/jwcrypto.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/kafka.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/keyboard.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/ldap3.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/lunardate.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/lupa.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/lzstring.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/m3u8.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/management.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/markdown.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/mmapfile.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/mmsystem.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/mock.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/mypy_extensions.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/nanoid.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/nanoleafapi.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/netaddr.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/netifaces.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/networkx.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/nmap.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/ntsecuritycon.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/oauthlib.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/objgraph.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/odbc.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/olefile.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/openpyxl.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/opentracing.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/paramiko.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/parsimonious.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/passpy.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/peewee.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/pep8ext_naming.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/perfmon.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/pexpect.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/pika.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/playhouse.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/polib.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/pony.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/portpicker.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/psutil.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/psycopg2.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/punq.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/pyasn1.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/pyaudio.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/pyautogui.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/pycocotools.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/pycurl.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/pyflakes.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/pygments.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/pyi_splash.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/pyluach.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/pymeeus.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/pymysql.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/pynput.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/pyogrio.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/pyperclip.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/pyphen.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/pyscreeze.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/pytest_lazyfixture.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/python_http_client.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/pythoncom.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/pythonwin.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/pytz.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/pywintypes.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/qrbill.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/qrcode.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/rasterio.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/ratelimit.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/regex.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/regutil.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/reportlab.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/requests.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/requests_oauthlib.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/resampy.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/retry.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/rfc3339_validator.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/s2clientprotocol.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/scp.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/seaborn.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/send2trash.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/serial.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/servicemanager.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/setuptools.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/shapely.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/simple_websocket.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/simplejson.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/singledispatch.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/six.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/slumber.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/socks.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/sockshandler.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/sspicon.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/str2bool.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/tabulate.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/tensorflow.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/tgcrypto.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/timer.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/tinycss2.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/titlecase.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/toml.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/toposort.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/tqdm.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/translationstring.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/ttkthemes.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/tzdata.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/unidiff.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/untangle.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/usersettings.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/uwsgi.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/uwsgidecorators.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/vobject.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/waitress.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/watchpoints.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/webencodings.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/webob.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/webtest.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/whatthepatch.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win2kras.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32api.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32clipboard.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32com.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32comext.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32con.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32console.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32cred.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32crypt.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32cryptcon.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32event.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32evtlog.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32evtlogutil.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32file.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32gui.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32gui_struct.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32help.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32inet.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32inetcon.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32job.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32lz.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32net.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32netcon.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32pdh.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32pdhquery.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32pipe.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32print.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32process.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32profile.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32ras.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32security.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32service.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32serviceutil.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32timezone.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32trace.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32transaction.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32ts.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32ui.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32uiole.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32verstamp.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/win32wnet.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/winerror.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/winioctlcon.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/winnt.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/winperf.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/winxpgui.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/winxptheme.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/workalendar.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/wtforms.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/wurlitzer.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/www_authenticate.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/xdg.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/xdgenvpy.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/xlrd.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/xmldiff.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/xmltodict.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/yaml.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/yt_dlp.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/zstd.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/third_party/zxcvbn.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/this.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/threading.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/time.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/timeit.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/tkinter.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/token.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/tokenize.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/tomllib.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/trace.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/traceback.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/tracemalloc.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/tty.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/turtle.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/types.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/typing.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/typing_extensions.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/unicodedata.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/unittest.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/urllib.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/uu.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/uuid.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/venv.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/warnings.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/wave.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/weakref.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/webbrowser.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/winreg.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/winsound.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/wsgiref.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/xdrlib.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/xml.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/xmlrpc.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/xxlimited.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/zipapp.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/zipfile.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/zipimport.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/zlib.json +1 -0
- pycg-1.0.0/pycg/analysis/stub_data/zoneinfo.json +1 -0
- pycg-1.0.0/pycg/analysis/stubs.py +278 -0
- pycg-1.0.0/pycg/formats/__init__.py +42 -0
- pycg-1.0.0/pycg/formats/document.py +305 -0
- pycg-1.0.0/pycg/pycg.py +56 -0
- pycg-1.0.0/pyproject.toml +57 -0
- pycg-0.0.8/.github/workflows/linters.yml +0 -59
- pycg-0.0.8/.github/workflows/test.yaml +0 -27
- pycg-0.0.8/.gitignore +0 -166
- pycg-0.0.8/Makefile +0 -10
- pycg-0.0.8/PKG-INFO +0 -161
- pycg-0.0.8/README.md +0 -143
- pycg-0.0.8/micro-benchmark/__init__.py +0 -0
- pycg-0.0.8/micro-benchmark/base.py +0 -98
- pycg-0.0.8/micro-benchmark/create_pytests.py +0 -42
- pycg-0.0.8/micro-benchmark/snippets/args/assigned_call/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/args/assigned_call/callgraph.json +0 -9
- pycg-0.0.8/micro-benchmark/snippets/args/assigned_call/main.py +0 -8
- pycg-0.0.8/micro-benchmark/snippets/args/call/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/args/call/callgraph.json +0 -9
- pycg-0.0.8/micro-benchmark/snippets/args/call/main.py +0 -7
- pycg-0.0.8/micro-benchmark/snippets/args/imported_assigned_call/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/args/imported_assigned_call/callgraph.json +0 -10
- pycg-0.0.8/micro-benchmark/snippets/args/imported_assigned_call/main.py +0 -7
- pycg-0.0.8/micro-benchmark/snippets/args/imported_assigned_call/to_import.py +0 -2
- pycg-0.0.8/micro-benchmark/snippets/args/imported_call/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/args/imported_call/callgraph.json +0 -10
- pycg-0.0.8/micro-benchmark/snippets/args/imported_call/main.py +0 -6
- pycg-0.0.8/micro-benchmark/snippets/args/imported_call/to_import.py +0 -2
- pycg-0.0.8/micro-benchmark/snippets/args/nested_call/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/args/nested_call/callgraph.json +0 -12
- pycg-0.0.8/micro-benchmark/snippets/args/nested_call/main.py +0 -12
- pycg-0.0.8/micro-benchmark/snippets/args/param_call/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/args/param_call/callgraph.json +0 -11
- pycg-0.0.8/micro-benchmark/snippets/args/param_call/main.py +0 -10
- pycg-0.0.8/micro-benchmark/snippets/assignments/chained/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/assignments/chained/callgraph.json +0 -8
- pycg-0.0.8/micro-benchmark/snippets/assignments/chained/main.py +0 -13
- pycg-0.0.8/micro-benchmark/snippets/assignments/recursive_tuple/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/assignments/recursive_tuple/callgraph.json +0 -16
- pycg-0.0.8/micro-benchmark/snippets/assignments/recursive_tuple/main.py +0 -31
- pycg-0.0.8/micro-benchmark/snippets/assignments/starred/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/assignments/starred/callgraph.json +0 -12
- pycg-0.0.8/micro-benchmark/snippets/assignments/starred/main.py +0 -18
- pycg-0.0.8/micro-benchmark/snippets/assignments/tuple/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/assignments/tuple/callgraph.json +0 -10
- pycg-0.0.8/micro-benchmark/snippets/assignments/tuple/main.py +0 -18
- pycg-0.0.8/micro-benchmark/snippets/builtins/functions/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/builtins/functions/callgraph.json +0 -6
- pycg-0.0.8/micro-benchmark/snippets/builtins/functions/main.py +0 -2
- pycg-0.0.8/micro-benchmark/snippets/builtins/map/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/builtins/map/callgraph.json +0 -15
- pycg-0.0.8/micro-benchmark/snippets/builtins/map/main.py +0 -19
- pycg-0.0.8/micro-benchmark/snippets/builtins/types/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/builtins/types/callgraph.json +0 -10
- pycg-0.0.8/micro-benchmark/snippets/builtins/types/main.py +0 -7
- pycg-0.0.8/micro-benchmark/snippets/classes/assigned_call/README.md +0 -2
- pycg-0.0.8/micro-benchmark/snippets/classes/assigned_call/callgraph.json +0 -6
- pycg-0.0.8/micro-benchmark/snippets/classes/assigned_call/main.py +0 -7
- pycg-0.0.8/micro-benchmark/snippets/classes/assigned_self_call/README.md +0 -3
- pycg-0.0.8/micro-benchmark/snippets/classes/assigned_self_call/callgraph.json +0 -9
- pycg-0.0.8/micro-benchmark/snippets/classes/assigned_self_call/main.py +0 -10
- pycg-0.0.8/micro-benchmark/snippets/classes/base_class_attr/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/classes/base_class_attr/callgraph.json +0 -8
- pycg-0.0.8/micro-benchmark/snippets/classes/base_class_attr/main.py +0 -12
- pycg-0.0.8/micro-benchmark/snippets/classes/base_class_calls_child/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/classes/base_class_calls_child/callgraph.json +0 -15
- pycg-0.0.8/micro-benchmark/snippets/classes/base_class_calls_child/main.py +0 -23
- pycg-0.0.8/micro-benchmark/snippets/classes/call/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/classes/call/callgraph.json +0 -6
- pycg-0.0.8/micro-benchmark/snippets/classes/call/main.py +0 -6
- pycg-0.0.8/micro-benchmark/snippets/classes/direct_call/README.md +0 -2
- pycg-0.0.8/micro-benchmark/snippets/classes/direct_call/callgraph.json +0 -8
- pycg-0.0.8/micro-benchmark/snippets/classes/direct_call/main.py +0 -8
- pycg-0.0.8/micro-benchmark/snippets/classes/imported_attr_access/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/classes/imported_attr_access/callgraph.json +0 -7
- pycg-0.0.8/micro-benchmark/snippets/classes/imported_attr_access/main.py +0 -3
- pycg-0.0.8/micro-benchmark/snippets/classes/imported_attr_access/to_import.py +0 -2
- pycg-0.0.8/micro-benchmark/snippets/classes/imported_call/README.md +0 -2
- pycg-0.0.8/micro-benchmark/snippets/classes/imported_call/callgraph.json +0 -9
- pycg-0.0.8/micro-benchmark/snippets/classes/imported_call/main.py +0 -4
- pycg-0.0.8/micro-benchmark/snippets/classes/imported_call/to_import.py +0 -6
- pycg-0.0.8/micro-benchmark/snippets/classes/imported_call_without_init/README.md +0 -2
- pycg-0.0.8/micro-benchmark/snippets/classes/imported_call_without_init/callgraph.json +0 -7
- pycg-0.0.8/micro-benchmark/snippets/classes/imported_call_without_init/main.py +0 -4
- pycg-0.0.8/micro-benchmark/snippets/classes/imported_call_without_init/to_import.py +0 -3
- pycg-0.0.8/micro-benchmark/snippets/classes/imported_nested_attr_access/README.md +0 -2
- pycg-0.0.8/micro-benchmark/snippets/classes/imported_nested_attr_access/callgraph.json +0 -7
- pycg-0.0.8/micro-benchmark/snippets/classes/imported_nested_attr_access/main.py +0 -3
- pycg-0.0.8/micro-benchmark/snippets/classes/imported_nested_attr_access/nest/imported.py +0 -2
- pycg-0.0.8/micro-benchmark/snippets/classes/nested_call/callgraph.json +0 -9
- pycg-0.0.8/micro-benchmark/snippets/classes/nested_call/main.py +0 -9
- pycg-0.0.8/micro-benchmark/snippets/classes/nested_class_calls/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/classes/nested_class_calls/callgraph.json +0 -16
- pycg-0.0.8/micro-benchmark/snippets/classes/nested_class_calls/main.py +0 -21
- pycg-0.0.8/micro-benchmark/snippets/classes/parameter_call/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/classes/parameter_call/callgraph.json +0 -12
- pycg-0.0.8/micro-benchmark/snippets/classes/parameter_call/main.py +0 -12
- pycg-0.0.8/micro-benchmark/snippets/classes/return_call/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/classes/return_call/callgraph.json +0 -8
- pycg-0.0.8/micro-benchmark/snippets/classes/return_call/main.py +0 -10
- pycg-0.0.8/micro-benchmark/snippets/classes/return_call_direct/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/classes/return_call_direct/callgraph.json +0 -8
- pycg-0.0.8/micro-benchmark/snippets/classes/return_call_direct/main.py +0 -9
- pycg-0.0.8/micro-benchmark/snippets/classes/self_assign_func/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/classes/self_assign_func/callgraph.json +0 -11
- pycg-0.0.8/micro-benchmark/snippets/classes/self_assign_func/main.py +0 -16
- pycg-0.0.8/micro-benchmark/snippets/classes/self_assignment/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/classes/self_assignment/callgraph.json +0 -11
- pycg-0.0.8/micro-benchmark/snippets/classes/self_assignment/main.py +0 -12
- pycg-0.0.8/micro-benchmark/snippets/classes/self_call/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/classes/self_call/callgraph.json +0 -13
- pycg-0.0.8/micro-benchmark/snippets/classes/self_call/main.py +0 -13
- pycg-0.0.8/micro-benchmark/snippets/classes/static_method_call/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/classes/static_method_call/callgraph.json +0 -6
- pycg-0.0.8/micro-benchmark/snippets/classes/static_method_call/main.py +0 -6
- pycg-0.0.8/micro-benchmark/snippets/classes/super_class_return/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/classes/super_class_return/callgraph.json +0 -8
- pycg-0.0.8/micro-benchmark/snippets/classes/super_class_return/main.py +0 -11
- pycg-0.0.8/micro-benchmark/snippets/classes/tuple_assignment/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/classes/tuple_assignment/callgraph.json +0 -14
- pycg-0.0.8/micro-benchmark/snippets/classes/tuple_assignment/main.py +0 -24
- pycg-0.0.8/micro-benchmark/snippets/decorators/assigned/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/decorators/assigned/callgraph.json +0 -9
- pycg-0.0.8/micro-benchmark/snippets/decorators/assigned/main.py +0 -14
- pycg-0.0.8/micro-benchmark/snippets/decorators/call/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/decorators/call/callgraph.json +0 -8
- pycg-0.0.8/micro-benchmark/snippets/decorators/call/main.py +0 -8
- pycg-0.0.8/micro-benchmark/snippets/decorators/nested/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/decorators/nested/callgraph.json +0 -11
- pycg-0.0.8/micro-benchmark/snippets/decorators/nested/main.py +0 -12
- pycg-0.0.8/micro-benchmark/snippets/decorators/nested_decorators/README.md +0 -2
- pycg-0.0.8/micro-benchmark/snippets/decorators/nested_decorators/callgraph.json +0 -17
- pycg-0.0.8/micro-benchmark/snippets/decorators/nested_decorators/main.py +0 -17
- pycg-0.0.8/micro-benchmark/snippets/decorators/param_call/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/decorators/param_call/callgraph.json +0 -10
- pycg-0.0.8/micro-benchmark/snippets/decorators/param_call/main.py +0 -9
- pycg-0.0.8/micro-benchmark/snippets/decorators/return/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/decorators/return/callgraph.json +0 -10
- pycg-0.0.8/micro-benchmark/snippets/decorators/return/main.py +0 -11
- pycg-0.0.8/micro-benchmark/snippets/decorators/return_different_func/README.md +0 -4
- pycg-0.0.8/micro-benchmark/snippets/decorators/return_different_func/callgraph.json +0 -14
- pycg-0.0.8/micro-benchmark/snippets/decorators/return_different_func/main.py +0 -14
- pycg-0.0.8/micro-benchmark/snippets/dicts/add_key/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/dicts/add_key/callgraph.json +0 -6
- pycg-0.0.8/micro-benchmark/snippets/dicts/add_key/main.py +0 -7
- pycg-0.0.8/micro-benchmark/snippets/dicts/assign/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/dicts/assign/callgraph.json +0 -7
- pycg-0.0.8/micro-benchmark/snippets/dicts/assign/main.py +0 -13
- pycg-0.0.8/micro-benchmark/snippets/dicts/call/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/dicts/call/callgraph.json +0 -8
- pycg-0.0.8/micro-benchmark/snippets/dicts/call/main.py +0 -14
- pycg-0.0.8/micro-benchmark/snippets/dicts/ext_key/README.md +0 -2
- pycg-0.0.8/micro-benchmark/snippets/dicts/ext_key/callgraph.json +0 -7
- pycg-0.0.8/micro-benchmark/snippets/dicts/ext_key/ext.py +0 -1
- pycg-0.0.8/micro-benchmark/snippets/dicts/ext_key/main.py +0 -8
- pycg-0.0.8/micro-benchmark/snippets/dicts/nested/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/dicts/nested/callgraph.json +0 -7
- pycg-0.0.8/micro-benchmark/snippets/dicts/nested/main.py +0 -15
- pycg-0.0.8/micro-benchmark/snippets/dicts/new_key_param/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/dicts/new_key_param/callgraph.json +0 -8
- pycg-0.0.8/micro-benchmark/snippets/dicts/new_key_param/main.py +0 -10
- pycg-0.0.8/micro-benchmark/snippets/dicts/param/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/dicts/param/callgraph.json +0 -9
- pycg-0.0.8/micro-benchmark/snippets/dicts/param/main.py +0 -9
- pycg-0.0.8/micro-benchmark/snippets/dicts/param_key/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/dicts/param_key/callgraph.json +0 -11
- pycg-0.0.8/micro-benchmark/snippets/dicts/param_key/main.py +0 -16
- pycg-0.0.8/micro-benchmark/snippets/dicts/return/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/dicts/return/callgraph.json +0 -8
- pycg-0.0.8/micro-benchmark/snippets/dicts/return/main.py +0 -9
- pycg-0.0.8/micro-benchmark/snippets/dicts/return_assign/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/dicts/return_assign/callgraph.json +0 -8
- pycg-0.0.8/micro-benchmark/snippets/dicts/return_assign/main.py +0 -9
- pycg-0.0.8/micro-benchmark/snippets/dicts/type_coercion/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/dicts/type_coercion/callgraph.json +0 -7
- pycg-0.0.8/micro-benchmark/snippets/dicts/type_coercion/main.py +0 -9
- pycg-0.0.8/micro-benchmark/snippets/dicts/update/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/dicts/update/callgraph.json +0 -7
- pycg-0.0.8/micro-benchmark/snippets/dicts/update/main.py +0 -10
- pycg-0.0.8/micro-benchmark/snippets/direct_calls/assigned_call/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/direct_calls/assigned_call/callgraph.json +0 -8
- pycg-0.0.8/micro-benchmark/snippets/direct_calls/assigned_call/main.py +0 -9
- pycg-0.0.8/micro-benchmark/snippets/direct_calls/imported_return_call/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/direct_calls/imported_return_call/callgraph.json +0 -9
- pycg-0.0.8/micro-benchmark/snippets/direct_calls/imported_return_call/main.py +0 -3
- pycg-0.0.8/micro-benchmark/snippets/direct_calls/imported_return_call/to_import.py +0 -5
- pycg-0.0.8/micro-benchmark/snippets/direct_calls/return_call/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/direct_calls/return_call/callgraph.json +0 -10
- pycg-0.0.8/micro-benchmark/snippets/direct_calls/return_call/main.py +0 -10
- pycg-0.0.8/micro-benchmark/snippets/direct_calls/with_parameters/README.md +0 -2
- pycg-0.0.8/micro-benchmark/snippets/direct_calls/with_parameters/callgraph.json +0 -10
- pycg-0.0.8/micro-benchmark/snippets/direct_calls/with_parameters/main.py +0 -10
- pycg-0.0.8/micro-benchmark/snippets/dynamic/eval/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/dynamic/eval/callgraph.json +0 -9
- pycg-0.0.8/micro-benchmark/snippets/dynamic/eval/main.py +0 -4
- pycg-0.0.8/micro-benchmark/snippets/exceptions/raise/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/exceptions/raise/callgraph.json +0 -6
- pycg-0.0.8/micro-benchmark/snippets/exceptions/raise/main.py +0 -5
- pycg-0.0.8/micro-benchmark/snippets/exceptions/raise_assigned/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/exceptions/raise_assigned/callgraph.json +0 -6
- pycg-0.0.8/micro-benchmark/snippets/exceptions/raise_assigned/main.py +0 -6
- pycg-0.0.8/micro-benchmark/snippets/exceptions/raise_attr/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/exceptions/raise_attr/callgraph.json +0 -6
- pycg-0.0.8/micro-benchmark/snippets/exceptions/raise_attr/main.py +0 -6
- pycg-0.0.8/micro-benchmark/snippets/external/attribute/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/external/attribute/callgraph.json +0 -8
- pycg-0.0.8/micro-benchmark/snippets/external/attribute/main.py +0 -4
- pycg-0.0.8/micro-benchmark/snippets/external/attribute_assigned/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/external/attribute_assigned/callgraph.json +0 -11
- pycg-0.0.8/micro-benchmark/snippets/external/attribute_assigned/main.py +0 -8
- pycg-0.0.8/micro-benchmark/snippets/external/cls_parent/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/external/cls_parent/callgraph.json +0 -11
- pycg-0.0.8/micro-benchmark/snippets/external/cls_parent/main.py +0 -8
- pycg-0.0.8/micro-benchmark/snippets/external/function/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/external/function/callgraph.json +0 -6
- pycg-0.0.8/micro-benchmark/snippets/external/function/main.py +0 -3
- pycg-0.0.8/micro-benchmark/snippets/external/function_asname/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/external/function_asname/callgraph.json +0 -6
- pycg-0.0.8/micro-benchmark/snippets/external/function_asname/main.py +0 -3
- pycg-0.0.8/micro-benchmark/snippets/external/function_assigned/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/external/function_assigned/callgraph.json +0 -6
- pycg-0.0.8/micro-benchmark/snippets/external/function_assigned/main.py +0 -5
- pycg-0.0.8/micro-benchmark/snippets/functions/assigned_call/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/functions/assigned_call/callgraph.json +0 -6
- pycg-0.0.8/micro-benchmark/snippets/functions/assigned_call/main.py +0 -5
- pycg-0.0.8/micro-benchmark/snippets/functions/assigned_call_lit_param/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/functions/assigned_call_lit_param/callgraph.json +0 -6
- pycg-0.0.8/micro-benchmark/snippets/functions/assigned_call_lit_param/main.py +0 -6
- pycg-0.0.8/micro-benchmark/snippets/functions/call/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/functions/call/callgraph.json +0 -6
- pycg-0.0.8/micro-benchmark/snippets/functions/call/main.py +0 -4
- pycg-0.0.8/micro-benchmark/snippets/functions/imported_call/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/functions/imported_call/callgraph.json +0 -7
- pycg-0.0.8/micro-benchmark/snippets/functions/imported_call/main.py +0 -4
- pycg-0.0.8/micro-benchmark/snippets/functions/imported_call/to_import.py +0 -2
- pycg-0.0.8/micro-benchmark/snippets/generators/iter_param/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/generators/iter_param/callgraph.json +0 -13
- pycg-0.0.8/micro-benchmark/snippets/generators/iter_param/main.py +0 -21
- pycg-0.0.8/micro-benchmark/snippets/generators/iter_return/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/generators/iter_return/callgraph.json +0 -12
- pycg-0.0.8/micro-benchmark/snippets/generators/iter_return/main.py +0 -21
- pycg-0.0.8/micro-benchmark/snippets/generators/iterable/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/generators/iterable/callgraph.json +0 -13
- pycg-0.0.8/micro-benchmark/snippets/generators/iterable/main.py +0 -17
- pycg-0.0.8/micro-benchmark/snippets/generators/iterable_assigned/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/generators/iterable_assigned/callgraph.json +0 -10
- pycg-0.0.8/micro-benchmark/snippets/generators/iterable_assigned/main.py +0 -20
- pycg-0.0.8/micro-benchmark/snippets/generators/no_iter/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/generators/no_iter/callgraph.json +0 -8
- pycg-0.0.8/micro-benchmark/snippets/generators/no_iter/main.py +0 -17
- pycg-0.0.8/micro-benchmark/snippets/generators/yield/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/generators/yield/callgraph.json +0 -8
- pycg-0.0.8/micro-benchmark/snippets/generators/yield/main.py +0 -11
- pycg-0.0.8/micro-benchmark/snippets/imports/chained_import/README.md +0 -2
- pycg-0.0.8/micro-benchmark/snippets/imports/chained_import/callgraph.json +0 -11
- pycg-0.0.8/micro-benchmark/snippets/imports/chained_import/chained_import.py +0 -2
- pycg-0.0.8/micro-benchmark/snippets/imports/chained_import/from_import.py +0 -4
- pycg-0.0.8/micro-benchmark/snippets/imports/chained_import/main.py +0 -3
- pycg-0.0.8/micro-benchmark/snippets/imports/import_all/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/imports/import_all/callgraph.json +0 -9
- pycg-0.0.8/micro-benchmark/snippets/imports/import_all/from_module.py +0 -5
- pycg-0.0.8/micro-benchmark/snippets/imports/import_all/main.py +0 -4
- pycg-0.0.8/micro-benchmark/snippets/imports/import_as/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/imports/import_as/callgraph.json +0 -6
- pycg-0.0.8/micro-benchmark/snippets/imports/import_as/main.py +0 -4
- pycg-0.0.8/micro-benchmark/snippets/imports/import_as/to_import.py +0 -2
- pycg-0.0.8/micro-benchmark/snippets/imports/import_from/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/imports/import_from/callgraph.json +0 -7
- pycg-0.0.8/micro-benchmark/snippets/imports/import_from/from_module.py +0 -2
- pycg-0.0.8/micro-benchmark/snippets/imports/import_from/main.py +0 -3
- pycg-0.0.8/micro-benchmark/snippets/imports/init_func_import/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/imports/init_func_import/callgraph.json +0 -10
- pycg-0.0.8/micro-benchmark/snippets/imports/init_func_import/main.py +0 -4
- pycg-0.0.8/micro-benchmark/snippets/imports/init_func_import/nested/__init__.py +0 -4
- pycg-0.0.8/micro-benchmark/snippets/imports/init_func_import/nested/mod.py +0 -2
- pycg-0.0.8/micro-benchmark/snippets/imports/init_import/README.md +0 -2
- pycg-0.0.8/micro-benchmark/snippets/imports/init_import/callgraph.json +0 -8
- pycg-0.0.8/micro-benchmark/snippets/imports/init_import/main.py +0 -3
- pycg-0.0.8/micro-benchmark/snippets/imports/init_import/nested/__init__.py +0 -1
- pycg-0.0.8/micro-benchmark/snippets/imports/init_import/nested/nested.py +0 -5
- pycg-0.0.8/micro-benchmark/snippets/imports/parent_import/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/imports/parent_import/__init__.py +0 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/parent_import/callgraph.json +0 -9
- pycg-0.0.8/micro-benchmark/snippets/imports/parent_import/main.py +0 -4
- pycg-0.0.8/micro-benchmark/snippets/imports/parent_import/nested/__init__.py +0 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/parent_import/nested/to_import.py +0 -4
- pycg-0.0.8/micro-benchmark/snippets/imports/parent_import/to_import2.py +0 -2
- pycg-0.0.8/micro-benchmark/snippets/imports/relative_import/README.md +0 -2
- pycg-0.0.8/micro-benchmark/snippets/imports/relative_import/__init__.py +0 -0
- pycg-0.0.8/micro-benchmark/snippets/imports/relative_import/callgraph.json +0 -6
- pycg-0.0.8/micro-benchmark/snippets/imports/relative_import/main.py +0 -4
- pycg-0.0.8/micro-benchmark/snippets/imports/relative_import/to_import.py +0 -2
- pycg-0.0.8/micro-benchmark/snippets/imports/relative_import_with_name/README.md +0 -1
- 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 +0 -12
- pycg-0.0.8/micro-benchmark/snippets/imports/relative_import_with_name/main.py +0 -3
- 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 +0 -2
- pycg-0.0.8/micro-benchmark/snippets/imports/relative_import_with_name/nested/to_import.py +0 -4
- pycg-0.0.8/micro-benchmark/snippets/imports/simple_import/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/imports/simple_import/callgraph.json +0 -6
- pycg-0.0.8/micro-benchmark/snippets/imports/simple_import/main.py +0 -4
- pycg-0.0.8/micro-benchmark/snippets/imports/simple_import/to_import.py +0 -2
- pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import/README.md +0 -3
- pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import/callgraph.json +0 -8
- pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import/main.py +0 -4
- pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import/to_import/__init__.py +0 -2
- pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import/to_import/to_import.py +0 -2
- pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_all/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_all/callgraph.json +0 -10
- 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 +0 -5
- pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_all/main.py +0 -4
- pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_as/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_as/callgraph.json +0 -8
- pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_as/main.py +0 -4
- pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_as/to_import/__init__.py +0 -2
- pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_as/to_import/to_import.py +0 -2
- pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_from/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_from/callgraph.json +0 -10
- 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 +0 -5
- pycg-0.0.8/micro-benchmark/snippets/imports/submodule_import_from/main.py +0 -4
- pycg-0.0.8/micro-benchmark/snippets/kwargs/assigned_call/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/kwargs/assigned_call/callgraph.json +0 -9
- pycg-0.0.8/micro-benchmark/snippets/kwargs/assigned_call/main.py +0 -9
- pycg-0.0.8/micro-benchmark/snippets/kwargs/call/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/kwargs/call/callgraph.json +0 -13
- pycg-0.0.8/micro-benchmark/snippets/kwargs/call/main.py +0 -15
- pycg-0.0.8/micro-benchmark/snippets/kwargs/chained_call/README.md +0 -3
- pycg-0.0.8/micro-benchmark/snippets/kwargs/chained_call/callgraph.json +0 -13
- pycg-0.0.8/micro-benchmark/snippets/kwargs/chained_call/main.py +0 -10
- pycg-0.0.8/micro-benchmark/snippets/lambdas/call/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/lambdas/call/callgraph.json +0 -6
- pycg-0.0.8/micro-benchmark/snippets/lambdas/call/main.py +0 -3
- pycg-0.0.8/micro-benchmark/snippets/lambdas/calls_parameter/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/lambdas/calls_parameter/callgraph.json +0 -11
- pycg-0.0.8/micro-benchmark/snippets/lambdas/calls_parameter/main.py +0 -10
- pycg-0.0.8/micro-benchmark/snippets/lambdas/chained_calls/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/lambdas/chained_calls/callgraph.json +0 -19
- pycg-0.0.8/micro-benchmark/snippets/lambdas/chained_calls/main.py +0 -12
- pycg-0.0.8/micro-benchmark/snippets/lambdas/parameter_call/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/lambdas/parameter_call/callgraph.json +0 -9
- pycg-0.0.8/micro-benchmark/snippets/lambdas/parameter_call/main.py +0 -6
- pycg-0.0.8/micro-benchmark/snippets/lambdas/return_call/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/lambdas/return_call/callgraph.json +0 -8
- pycg-0.0.8/micro-benchmark/snippets/lambdas/return_call/main.py +0 -5
- pycg-0.0.8/micro-benchmark/snippets/lists/comprehension_if/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/lists/comprehension_if/callgraph.json +0 -8
- pycg-0.0.8/micro-benchmark/snippets/lists/comprehension_if/main.py +0 -4
- pycg-0.0.8/micro-benchmark/snippets/lists/comprehension_val/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/lists/comprehension_val/callgraph.json +0 -8
- pycg-0.0.8/micro-benchmark/snippets/lists/comprehension_val/main.py +0 -4
- pycg-0.0.8/micro-benchmark/snippets/lists/ext_index/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/lists/ext_index/callgraph.json +0 -8
- pycg-0.0.8/micro-benchmark/snippets/lists/ext_index/ext.py +0 -1
- pycg-0.0.8/micro-benchmark/snippets/lists/ext_index/main.py +0 -11
- pycg-0.0.8/micro-benchmark/snippets/lists/nested/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/lists/nested/callgraph.json +0 -7
- pycg-0.0.8/micro-benchmark/snippets/lists/nested/main.py +0 -9
- pycg-0.0.8/micro-benchmark/snippets/lists/nested_comprehension/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/lists/nested_comprehension/callgraph.json +0 -10
- pycg-0.0.8/micro-benchmark/snippets/lists/nested_comprehension/main.py +0 -7
- pycg-0.0.8/micro-benchmark/snippets/lists/param_index/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/lists/param_index/callgraph.json +0 -9
- pycg-0.0.8/micro-benchmark/snippets/lists/param_index/main.py +0 -9
- pycg-0.0.8/micro-benchmark/snippets/lists/simple/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/lists/simple/callgraph.json +0 -12
- pycg-0.0.8/micro-benchmark/snippets/lists/simple/main.py +0 -22
- pycg-0.0.8/micro-benchmark/snippets/lists/slice/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/lists/slice/callgraph.json +0 -8
- pycg-0.0.8/micro-benchmark/snippets/lists/slice/main.py +0 -14
- pycg-0.0.8/micro-benchmark/snippets/mro/basic/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/mro/basic/callgraph.json +0 -6
- pycg-0.0.8/micro-benchmark/snippets/mro/basic/main.py +0 -9
- pycg-0.0.8/micro-benchmark/snippets/mro/basic_init/README.md +0 -2
- pycg-0.0.8/micro-benchmark/snippets/mro/basic_init/callgraph.json +0 -8
- pycg-0.0.8/micro-benchmark/snippets/mro/basic_init/main.py +0 -10
- pycg-0.0.8/micro-benchmark/snippets/mro/parents_same_superclass/README.md +0 -12
- pycg-0.0.8/micro-benchmark/snippets/mro/parents_same_superclass/callgraph.json +0 -9
- pycg-0.0.8/micro-benchmark/snippets/mro/parents_same_superclass/main.py +0 -19
- pycg-0.0.8/micro-benchmark/snippets/mro/self_assignment/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/mro/self_assignment/callgraph.json +0 -12
- pycg-0.0.8/micro-benchmark/snippets/mro/self_assignment/main.py +0 -20
- pycg-0.0.8/micro-benchmark/snippets/mro/super_call/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/mro/super_call/callgraph.json +0 -15
- pycg-0.0.8/micro-benchmark/snippets/mro/super_call/main.py +0 -13
- pycg-0.0.8/micro-benchmark/snippets/mro/two_parents/README.md +0 -2
- pycg-0.0.8/micro-benchmark/snippets/mro/two_parents/callgraph.json +0 -9
- pycg-0.0.8/micro-benchmark/snippets/mro/two_parents/main.py +0 -16
- pycg-0.0.8/micro-benchmark/snippets/mro/two_parents_method_defined/README.md +0 -2
- pycg-0.0.8/micro-benchmark/snippets/mro/two_parents_method_defined/callgraph.json +0 -10
- pycg-0.0.8/micro-benchmark/snippets/mro/two_parents_method_defined/main.py +0 -17
- pycg-0.0.8/micro-benchmark/snippets/returns/call/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/returns/call/callgraph.json +0 -8
- pycg-0.0.8/micro-benchmark/snippets/returns/call/main.py +0 -8
- pycg-0.0.8/micro-benchmark/snippets/returns/imported_call/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/returns/imported_call/callgraph.json +0 -9
- pycg-0.0.8/micro-benchmark/snippets/returns/imported_call/main.py +0 -4
- pycg-0.0.8/micro-benchmark/snippets/returns/imported_call/to_import.py +0 -5
- pycg-0.0.8/micro-benchmark/snippets/returns/nested_import_call/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/returns/nested_import_call/callgraph.json +0 -10
- pycg-0.0.8/micro-benchmark/snippets/returns/nested_import_call/main.py +0 -4
- pycg-0.0.8/micro-benchmark/snippets/returns/nested_import_call/to_import.py +0 -4
- pycg-0.0.8/micro-benchmark/snippets/returns/nested_import_call/to_import2.py +0 -2
- pycg-0.0.8/micro-benchmark/snippets/returns/return_complex/README.md +0 -1
- pycg-0.0.8/micro-benchmark/snippets/returns/return_complex/callgraph.json +0 -17
- pycg-0.0.8/micro-benchmark/snippets/returns/return_complex/main.py +0 -21
- pycg-0.0.8/micro-benchmark-key-errs/base.py +0 -81
- pycg-0.0.8/micro-benchmark-key-errs/create_pytests.py +0 -42
- pycg-0.0.8/micro-benchmark-key-errs/snippets/assignments/chained/README.md +0 -1
- pycg-0.0.8/micro-benchmark-key-errs/snippets/assignments/chained/key_errs.json +0 -14
- pycg-0.0.8/micro-benchmark-key-errs/snippets/assignments/chained/main.py +0 -6
- pycg-0.0.8/micro-benchmark-key-errs/snippets/assignments/recursive_tuple/README.md +0 -1
- pycg-0.0.8/micro-benchmark-key-errs/snippets/assignments/recursive_tuple/key_errs.json +0 -8
- pycg-0.0.8/micro-benchmark-key-errs/snippets/assignments/recursive_tuple/main.py +0 -7
- pycg-0.0.8/micro-benchmark-key-errs/snippets/assignments/starred/README.md +0 -1
- pycg-0.0.8/micro-benchmark-key-errs/snippets/assignments/starred/key_errs.json +0 -14
- pycg-0.0.8/micro-benchmark-key-errs/snippets/assignments/starred/main.py +0 -8
- pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/assigned_str/README.md +0 -2
- pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/assigned_str/key_errs.json +0 -8
- pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/assigned_str/main.py +0 -7
- pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/base_class_const/README.md +0 -1
- pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/base_class_const/key_errs.json +0 -8
- pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/base_class_const/main.py +0 -11
- pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/return_str/README.md +0 -2
- pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/return_str/key_errs.json +0 -8
- pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/return_str/main.py +0 -8
- pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/self_assignment/README.md +0 -2
- pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/self_assignment/key_errs.json +0 -8
- pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/self_assignment/main.py +0 -8
- pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/self_const/README.md +0 -1
- pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/self_const/key_errs.json +0 -8
- pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/self_const/main.py +0 -9
- pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/self_dict/README.md +0 -1
- pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/self_dict/key_errs.json +0 -8
- pycg-0.0.8/micro-benchmark-key-errs/snippets/classes/self_dict/main.py +0 -7
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/add_key/README.md +0 -1
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/add_key/key_errs.json +0 -8
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/add_key/main.py +0 -5
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/ext_key/README.md +0 -1
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/ext_key/ext.py +0 -1
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/ext_key/key_errs.json +0 -8
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/ext_key/main.py +0 -4
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/mutable_param/README.md +0 -2
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/mutable_param/key_errs.json +0 -8
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/mutable_param/main.py +0 -7
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/nested/README.md +0 -1
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/nested/key_errs.json +0 -14
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/nested/main.py +0 -9
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/return/README.md +0 -1
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/return/key_errs.json +0 -8
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/return/main.py +0 -6
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/return_direct/README.md +0 -1
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/return_direct/key_errs.json +0 -8
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/return_direct/main.py +0 -5
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/simple/README.md +0 -1
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/simple/key_errs.json +0 -8
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/simple/main.py +0 -3
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/type_coercion/README.md +0 -1
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/type_coercion/key_errs.json +0 -8
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/type_coercion/main.py +0 -3
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/update/README.md +0 -1
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/update/key_errs.json +0 -1
- pycg-0.0.8/micro-benchmark-key-errs/snippets/dicts/update/main.py +0 -3
- pycg-0.0.8/micro-benchmark-key-errs/snippets/kwargs/assigned_call/README.md +0 -2
- pycg-0.0.8/micro-benchmark-key-errs/snippets/kwargs/assigned_call/key_errs.json +0 -8
- pycg-0.0.8/micro-benchmark-key-errs/snippets/kwargs/assigned_call/main.py +0 -8
- pycg-0.0.8/micro-benchmark-key-errs/snippets/kwargs/call/README.md +0 -2
- pycg-0.0.8/micro-benchmark-key-errs/snippets/kwargs/call/key_errs.json +0 -8
- pycg-0.0.8/micro-benchmark-key-errs/snippets/kwargs/call/main.py +0 -7
- pycg-0.0.8/micro-benchmark-key-errs/snippets/lists/comprehension/README.md +0 -1
- pycg-0.0.8/micro-benchmark-key-errs/snippets/lists/comprehension/key_errs.json +0 -8
- pycg-0.0.8/micro-benchmark-key-errs/snippets/lists/comprehension/main.py +0 -3
- pycg-0.0.8/micro-benchmark-key-errs/snippets/lists/list_str/README.md +0 -1
- pycg-0.0.8/micro-benchmark-key-errs/snippets/lists/list_str/key_errs.json +0 -8
- pycg-0.0.8/micro-benchmark-key-errs/snippets/lists/list_str/main.py +0 -5
- pycg-0.0.8/micro-benchmark-key-errs/snippets/parameters/assigned_call/README.md +0 -2
- pycg-0.0.8/micro-benchmark-key-errs/snippets/parameters/assigned_call/key_errs.json +0 -8
- pycg-0.0.8/micro-benchmark-key-errs/snippets/parameters/assigned_call/main.py +0 -8
- pycg-0.0.8/micro-benchmark-key-errs/snippets/parameters/call/README.md +0 -2
- pycg-0.0.8/micro-benchmark-key-errs/snippets/parameters/call/key_errs.json +0 -8
- pycg-0.0.8/micro-benchmark-key-errs/snippets/parameters/call/main.py +0 -7
- pycg-0.0.8/micro-benchmark-key-errs/snippets/parameters/imported_assigned_call/README.md +0 -1
- pycg-0.0.8/micro-benchmark-key-errs/snippets/parameters/imported_assigned_call/key_errs.json +0 -8
- pycg-0.0.8/micro-benchmark-key-errs/snippets/parameters/imported_assigned_call/main.py +0 -11
- pycg-0.0.8/micro-benchmark-key-errs/snippets/parameters/imported_assigned_call/to_import.py +0 -2
- pycg-0.0.8/pycg/__init__.py +0 -0
- pycg-0.0.8/pycg/__main__.py +0 -89
- pycg-0.0.8/pycg/formats/__init__.py +0 -23
- pycg-0.0.8/pycg/formats/as_graph.py +0 -33
- pycg-0.0.8/pycg/formats/base.py +0 -23
- pycg-0.0.8/pycg/formats/fasten.py +0 -273
- pycg-0.0.8/pycg/formats/simple.py +0 -33
- pycg-0.0.8/pycg/machinery/__init__.py +0 -0
- pycg-0.0.8/pycg/machinery/callgraph.py +0 -59
- pycg-0.0.8/pycg/machinery/classes.py +0 -78
- pycg-0.0.8/pycg/machinery/definitions.py +0 -230
- pycg-0.0.8/pycg/machinery/imports.py +0 -235
- pycg-0.0.8/pycg/machinery/key_err.py +0 -31
- pycg-0.0.8/pycg/machinery/modules.py +0 -64
- pycg-0.0.8/pycg/machinery/pointers.py +0 -149
- pycg-0.0.8/pycg/machinery/scopes.py +0 -154
- pycg-0.0.8/pycg/processing/__init__.py +0 -0
- pycg-0.0.8/pycg/processing/base.py +0 -547
- pycg-0.0.8/pycg/processing/cgprocessor.py +0 -252
- pycg-0.0.8/pycg/processing/keyerrprocessor.py +0 -101
- pycg-0.0.8/pycg/processing/postprocessor.py +0 -342
- pycg-0.0.8/pycg/processing/preprocessor.py +0 -424
- pycg-0.0.8/pycg/pycg.py +0 -263
- pycg-0.0.8/pycg/tests/base.py +0 -25
- pycg-0.0.8/pycg/tests/callgraph_test.py +0 -87
- pycg-0.0.8/pycg/tests/definitions_test.py +0 -90
- pycg-0.0.8/pycg/tests/fasten_format_test.py +0 -319
- pycg-0.0.8/pycg/tests/imports_test.py +0 -189
- pycg-0.0.8/pycg/tests/pointers_test.py +0 -112
- pycg-0.0.8/pycg/tests/scopes_test.py +0 -217
- pycg-0.0.8/pycg/utils/__init__.py +0 -22
- pycg-0.0.8/pycg/utils/common.py +0 -45
- pycg-0.0.8/pycg/utils/constants.py +0 -42
- pycg-0.0.8/pyproject.toml +0 -61
- pycg-0.0.8/requirements-dev.txt +0 -4
- pycg-0.0.8/setup.cfg +0 -2
- pycg-0.0.8/setup.py +0 -61
- pycg-0.0.8/setup_devenv.sh +0 -148
- {pycg-0.0.8 → pycg-1.0.0}/LICENCE +0 -0
- {pycg-0.0.8/micro-benchmark-key-errs → pycg-1.0.0/pycg/analysis}/__init__.py +0 -0
pycg-1.0.0/.gitignore
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Python
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*.egg-info/
|
|
5
|
+
build/
|
|
6
|
+
dist/
|
|
7
|
+
.venv
|
|
8
|
+
.pytest_cache/
|
|
9
|
+
.hypothesis/
|
|
10
|
+
.coverage
|
|
11
|
+
*.log
|
|
12
|
+
*.sw*
|
|
13
|
+
|
|
14
|
+
# Local worktrees
|
|
15
|
+
.worktrees/
|
|
16
|
+
|
|
17
|
+
# The sources of the macro-benchmark, copied out of the inputs image
|
|
18
|
+
/evaluation/macro-benchmark/projects/
|
|
19
|
+
# The sources of the scale set, copied out of the inputs image
|
|
20
|
+
/evaluation/scale/projects/
|
|
21
|
+
# A new trace of a project (the committed traces are in
|
|
22
|
+
# evaluation/macro-benchmark/dynamic/)
|
|
23
|
+
/evaluation/results/
|
|
24
|
+
# The build logs of the wheels built from pinned sdists
|
|
25
|
+
# (evaluation/macro-benchmark/wheels/README.md)
|
|
26
|
+
!/evaluation/macro-benchmark/wheels/*.build.log
|
|
27
|
+
|
|
28
|
+
# Rust build output
|
|
29
|
+
target/
|
pycg-1.0.0/PKG-INFO
ADDED
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: pycg
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: Practical Python Call Graphs
|
|
5
|
+
Project-URL: Homepage, https://github.com/vitsalis/PyCG
|
|
6
|
+
Project-URL: Bug Tracker, https://github.com/vitsalis/PyCG/issues
|
|
7
|
+
Author-email: Vitalis Salis <vitsalis@gmail.com>
|
|
8
|
+
License-Expression: Apache-2.0
|
|
9
|
+
License-File: LICENCE
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
12
|
+
Requires-Python: >=3.12
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
|
|
15
|
+
# PyCG - Practical Python Call Graphs
|
|
16
|
+
|
|
17
|
+
> This is the final release of the Python engine; PyCG continues as a Rust tool.
|
|
18
|
+
> See the [repository](https://github.com/vitsalis/pycg) for more details.
|
|
19
|
+
|
|
20
|
+
PyCG generates call graphs for Python code with a fully static analysis:
|
|
21
|
+
it never imports or runs the code that it analyses. The analysis follows
|
|
22
|
+
the values that a program passes around (functions, classes, instances,
|
|
23
|
+
containers), so it resolves
|
|
24
|
+
|
|
25
|
+
* calls through variables, arguments, return values, attributes and
|
|
26
|
+
containers (higher-order code)
|
|
27
|
+
* methods through class hierarchies, `super()`, decorators, properties and
|
|
28
|
+
descriptors
|
|
29
|
+
* the calls that the interpreter makes without a call expression (`for`,
|
|
30
|
+
`with`, operators, subscripts, `await` and others)
|
|
31
|
+
* imports inside the package, followed automatically
|
|
32
|
+
* calls into code outside the package (the builtins, the standard library,
|
|
33
|
+
other packages), named through type stubs
|
|
34
|
+
|
|
35
|
+
The analysis is fast on packages that use the standard library as external
|
|
36
|
+
code. It does not yet scale to programs that include large generic
|
|
37
|
+
libraries such as the standard library itself: see *Open problems* in
|
|
38
|
+
[docs/design.md](https://github.com/vitsalis/PyCG/blob/python-engine-final/docs/design.md), which is the specification of the
|
|
39
|
+
analysis.
|
|
40
|
+
|
|
41
|
+
The first version of PyCG is described in the
|
|
42
|
+
[ICSE 2021 paper](https://arxiv.org/pdf/2103.00587.pdf). The analysis in
|
|
43
|
+
this repository is a redesign of it; that version is the tag
|
|
44
|
+
`baseline-original-engine`. [evaluation/](https://github.com/vitsalis/PyCG/blob/python-engine-final/evaluation/README.md) measures
|
|
45
|
+
PyCG on the micro-benchmark and on a benchmark of real packages:
|
|
46
|
+
`make eval`.
|
|
47
|
+
|
|
48
|
+
You can cite PyCG as follows.
|
|
49
|
+
Vitalis Salis, Thodoris Sotiropoulos, Panos Louridas, Diomidis Spinellis and Dimitris Mitropoulos.
|
|
50
|
+
PyCG: Practical Call Graph Generation in Python.
|
|
51
|
+
In _43rd International Conference on Software Engineering, ICSE '21_,
|
|
52
|
+
25–28 May 2021.
|
|
53
|
+
|
|
54
|
+
# Installation
|
|
55
|
+
|
|
56
|
+
PyCG requires Python 3.12 or later and has no runtime dependencies.
|
|
57
|
+
|
|
58
|
+
This version is not on PyPI yet (`pip install pycg` gives the 2021
|
|
59
|
+
version). Install it from a checkout of this repository:
|
|
60
|
+
```
|
|
61
|
+
git clone https://github.com/vitsalis/PyCG
|
|
62
|
+
cd PyCG
|
|
63
|
+
pip install .
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
Or run it from the checkout without installing it:
|
|
67
|
+
```
|
|
68
|
+
python -m pycg --help # from the root of the checkout
|
|
69
|
+
uv run pycg --help # with uv, which also makes the environment
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
# Usage
|
|
73
|
+
|
|
74
|
+
```
|
|
75
|
+
~ >>> pycg -h
|
|
76
|
+
usage: pycg [-h] [--package PACKAGE] [--package-name PACKAGE_NAME]
|
|
77
|
+
[--package-version PACKAGE_VERSION] [-o OUTPUT] [--cap N]
|
|
78
|
+
[entry_point ...]
|
|
79
|
+
|
|
80
|
+
Write the call graph of a Python package as one JSON document.
|
|
81
|
+
|
|
82
|
+
positional arguments:
|
|
83
|
+
entry_point Entry points to be processed
|
|
84
|
+
|
|
85
|
+
options:
|
|
86
|
+
-h, --help show this help message and exit
|
|
87
|
+
--package PACKAGE Package root: module names are relative to it and only
|
|
88
|
+
modules under it are analysed. Default: the deepest
|
|
89
|
+
directory that contains every entry point
|
|
90
|
+
--package-name PACKAGE_NAME
|
|
91
|
+
Name of the analysed package
|
|
92
|
+
--package-version PACKAGE_VERSION
|
|
93
|
+
Version of the analysed package
|
|
94
|
+
-o, --output OUTPUT Output path
|
|
95
|
+
--cap N The most objects that the analysis keeps for one
|
|
96
|
+
variable or expression: past it the value is treated
|
|
97
|
+
as unknown, and calls through it are reported as
|
|
98
|
+
unresolved (saturated). 'none' removes the cap: the
|
|
99
|
+
analysis may then not finish, or run out of memory, on
|
|
100
|
+
large inputs. Default: 5000
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
A module that cannot be read or parsed is reported as failed, with a
|
|
104
|
+
warning, and analysed as an empty module.
|
|
105
|
+
|
|
106
|
+
`--cap` (`cap=` of `CallGraphGenerator`) is the one setting of the
|
|
107
|
+
analysis; the document records it. `--cap none` gives the analysis
|
|
108
|
+
without a cap, which may not finish on large inputs.
|
|
109
|
+
|
|
110
|
+
# Output
|
|
111
|
+
|
|
112
|
+
PyCG writes one JSON document, specified in [docs/format.md](https://github.com/vitsalis/PyCG/blob/python-engine-final/docs/format.md).
|
|
113
|
+
It lists the analysed modules, their definitions (modules, classes with
|
|
114
|
+
their MROs, functions), the names that each module exports, the outside
|
|
115
|
+
names that the code calls, and the call sites of each caller: the position
|
|
116
|
+
of each call, what it may call, the implicit calls (`for`, `with`,
|
|
117
|
+
operators, properties and others) by construct, and the calls whose callee
|
|
118
|
+
is not known, with the cause. The document is deterministic: the same
|
|
119
|
+
input gives the same bytes on every run and every supported Python version.
|
|
120
|
+
|
|
121
|
+
`pycg.formats.edges(document)` gives the classic call graph: each node
|
|
122
|
+
mapped to the sorted names it calls.
|
|
123
|
+
|
|
124
|
+
```
|
|
125
|
+
{
|
|
126
|
+
"node1": ["node2", "node3"],
|
|
127
|
+
"node2": ["node3"],
|
|
128
|
+
"node3": []
|
|
129
|
+
}
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
# Examples
|
|
133
|
+
|
|
134
|
+
All the entry points are known:
|
|
135
|
+
```
|
|
136
|
+
~ >>> pycg --package pkg_root pkg_root/module1.py pkg_root/subpackage/module2.py -o cg.json
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
All entry points are not known, and the package is named in the document:
|
|
140
|
+
```
|
|
141
|
+
~ >>> pycg --package django --package-name django --package-version 5.2 \
|
|
142
|
+
$(find django -type f -name "*.py") -o django.json
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
# Development
|
|
146
|
+
|
|
147
|
+
Install [uv](https://docs.astral.sh/uv/). Then, from the root directory:
|
|
148
|
+
```
|
|
149
|
+
uv run make test # unit tests, the micro-benchmark and its validator
|
|
150
|
+
uv run make lint # ruff check, ruff format --check, no comments
|
|
151
|
+
uv run make format # sort imports and format the code
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
Each micro-benchmark case is a directory
|
|
155
|
+
`evaluation/micro-benchmark/snippets/<category>/<name>/` that contains a
|
|
156
|
+
`main.py` and the expected `callgraph.json`. The tests find new case
|
|
157
|
+
directories automatically.
|
|
158
|
+
To run one case:
|
|
159
|
+
```
|
|
160
|
+
uv run pytest "tests/test_micro_benchmark.py::test_call_graph[classes/call]"
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
The cases that the analysis fails are listed, each with its cause, in
|
|
164
|
+
`tests/known_failures.txt`, as strict expected failures. After a change to
|
|
165
|
+
the analysis, regenerate the list with `uv run python tests/triage.py`,
|
|
166
|
+
which holds the causes. It removes the cases that pass now and never adds a
|
|
167
|
+
case by itself: a failing case that is not in the list is a regression or a
|
|
168
|
+
new case, and the tool reports it and fails. Give such a case a cause in
|
|
169
|
+
`tests/triage.py` and add it with `--readmit <category>/<case>`.
|
pycg-1.0.0/README.md
ADDED
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
# PyCG - Practical Python Call Graphs
|
|
2
|
+
|
|
3
|
+
> This is the final release of the Python engine; PyCG continues as a Rust tool.
|
|
4
|
+
> See the [repository](https://github.com/vitsalis/pycg) for more details.
|
|
5
|
+
|
|
6
|
+
PyCG generates call graphs for Python code with a fully static analysis:
|
|
7
|
+
it never imports or runs the code that it analyses. The analysis follows
|
|
8
|
+
the values that a program passes around (functions, classes, instances,
|
|
9
|
+
containers), so it resolves
|
|
10
|
+
|
|
11
|
+
* calls through variables, arguments, return values, attributes and
|
|
12
|
+
containers (higher-order code)
|
|
13
|
+
* methods through class hierarchies, `super()`, decorators, properties and
|
|
14
|
+
descriptors
|
|
15
|
+
* the calls that the interpreter makes without a call expression (`for`,
|
|
16
|
+
`with`, operators, subscripts, `await` and others)
|
|
17
|
+
* imports inside the package, followed automatically
|
|
18
|
+
* calls into code outside the package (the builtins, the standard library,
|
|
19
|
+
other packages), named through type stubs
|
|
20
|
+
|
|
21
|
+
The analysis is fast on packages that use the standard library as external
|
|
22
|
+
code. It does not yet scale to programs that include large generic
|
|
23
|
+
libraries such as the standard library itself: see *Open problems* in
|
|
24
|
+
[docs/design.md](https://github.com/vitsalis/PyCG/blob/python-engine-final/docs/design.md), which is the specification of the
|
|
25
|
+
analysis.
|
|
26
|
+
|
|
27
|
+
The first version of PyCG is described in the
|
|
28
|
+
[ICSE 2021 paper](https://arxiv.org/pdf/2103.00587.pdf). The analysis in
|
|
29
|
+
this repository is a redesign of it; that version is the tag
|
|
30
|
+
`baseline-original-engine`. [evaluation/](https://github.com/vitsalis/PyCG/blob/python-engine-final/evaluation/README.md) measures
|
|
31
|
+
PyCG on the micro-benchmark and on a benchmark of real packages:
|
|
32
|
+
`make eval`.
|
|
33
|
+
|
|
34
|
+
You can cite PyCG as follows.
|
|
35
|
+
Vitalis Salis, Thodoris Sotiropoulos, Panos Louridas, Diomidis Spinellis and Dimitris Mitropoulos.
|
|
36
|
+
PyCG: Practical Call Graph Generation in Python.
|
|
37
|
+
In _43rd International Conference on Software Engineering, ICSE '21_,
|
|
38
|
+
25–28 May 2021.
|
|
39
|
+
|
|
40
|
+
# Installation
|
|
41
|
+
|
|
42
|
+
PyCG requires Python 3.12 or later and has no runtime dependencies.
|
|
43
|
+
|
|
44
|
+
This version is not on PyPI yet (`pip install pycg` gives the 2021
|
|
45
|
+
version). Install it from a checkout of this repository:
|
|
46
|
+
```
|
|
47
|
+
git clone https://github.com/vitsalis/PyCG
|
|
48
|
+
cd PyCG
|
|
49
|
+
pip install .
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Or run it from the checkout without installing it:
|
|
53
|
+
```
|
|
54
|
+
python -m pycg --help # from the root of the checkout
|
|
55
|
+
uv run pycg --help # with uv, which also makes the environment
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
# Usage
|
|
59
|
+
|
|
60
|
+
```
|
|
61
|
+
~ >>> pycg -h
|
|
62
|
+
usage: pycg [-h] [--package PACKAGE] [--package-name PACKAGE_NAME]
|
|
63
|
+
[--package-version PACKAGE_VERSION] [-o OUTPUT] [--cap N]
|
|
64
|
+
[entry_point ...]
|
|
65
|
+
|
|
66
|
+
Write the call graph of a Python package as one JSON document.
|
|
67
|
+
|
|
68
|
+
positional arguments:
|
|
69
|
+
entry_point Entry points to be processed
|
|
70
|
+
|
|
71
|
+
options:
|
|
72
|
+
-h, --help show this help message and exit
|
|
73
|
+
--package PACKAGE Package root: module names are relative to it and only
|
|
74
|
+
modules under it are analysed. Default: the deepest
|
|
75
|
+
directory that contains every entry point
|
|
76
|
+
--package-name PACKAGE_NAME
|
|
77
|
+
Name of the analysed package
|
|
78
|
+
--package-version PACKAGE_VERSION
|
|
79
|
+
Version of the analysed package
|
|
80
|
+
-o, --output OUTPUT Output path
|
|
81
|
+
--cap N The most objects that the analysis keeps for one
|
|
82
|
+
variable or expression: past it the value is treated
|
|
83
|
+
as unknown, and calls through it are reported as
|
|
84
|
+
unresolved (saturated). 'none' removes the cap: the
|
|
85
|
+
analysis may then not finish, or run out of memory, on
|
|
86
|
+
large inputs. Default: 5000
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
A module that cannot be read or parsed is reported as failed, with a
|
|
90
|
+
warning, and analysed as an empty module.
|
|
91
|
+
|
|
92
|
+
`--cap` (`cap=` of `CallGraphGenerator`) is the one setting of the
|
|
93
|
+
analysis; the document records it. `--cap none` gives the analysis
|
|
94
|
+
without a cap, which may not finish on large inputs.
|
|
95
|
+
|
|
96
|
+
# Output
|
|
97
|
+
|
|
98
|
+
PyCG writes one JSON document, specified in [docs/format.md](https://github.com/vitsalis/PyCG/blob/python-engine-final/docs/format.md).
|
|
99
|
+
It lists the analysed modules, their definitions (modules, classes with
|
|
100
|
+
their MROs, functions), the names that each module exports, the outside
|
|
101
|
+
names that the code calls, and the call sites of each caller: the position
|
|
102
|
+
of each call, what it may call, the implicit calls (`for`, `with`,
|
|
103
|
+
operators, properties and others) by construct, and the calls whose callee
|
|
104
|
+
is not known, with the cause. The document is deterministic: the same
|
|
105
|
+
input gives the same bytes on every run and every supported Python version.
|
|
106
|
+
|
|
107
|
+
`pycg.formats.edges(document)` gives the classic call graph: each node
|
|
108
|
+
mapped to the sorted names it calls.
|
|
109
|
+
|
|
110
|
+
```
|
|
111
|
+
{
|
|
112
|
+
"node1": ["node2", "node3"],
|
|
113
|
+
"node2": ["node3"],
|
|
114
|
+
"node3": []
|
|
115
|
+
}
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
# Examples
|
|
119
|
+
|
|
120
|
+
All the entry points are known:
|
|
121
|
+
```
|
|
122
|
+
~ >>> pycg --package pkg_root pkg_root/module1.py pkg_root/subpackage/module2.py -o cg.json
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
All entry points are not known, and the package is named in the document:
|
|
126
|
+
```
|
|
127
|
+
~ >>> pycg --package django --package-name django --package-version 5.2 \
|
|
128
|
+
$(find django -type f -name "*.py") -o django.json
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
# Development
|
|
132
|
+
|
|
133
|
+
Install [uv](https://docs.astral.sh/uv/). Then, from the root directory:
|
|
134
|
+
```
|
|
135
|
+
uv run make test # unit tests, the micro-benchmark and its validator
|
|
136
|
+
uv run make lint # ruff check, ruff format --check, no comments
|
|
137
|
+
uv run make format # sort imports and format the code
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
Each micro-benchmark case is a directory
|
|
141
|
+
`evaluation/micro-benchmark/snippets/<category>/<name>/` that contains a
|
|
142
|
+
`main.py` and the expected `callgraph.json`. The tests find new case
|
|
143
|
+
directories automatically.
|
|
144
|
+
To run one case:
|
|
145
|
+
```
|
|
146
|
+
uv run pytest "tests/test_micro_benchmark.py::test_call_graph[classes/call]"
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
The cases that the analysis fails are listed, each with its cause, in
|
|
150
|
+
`tests/known_failures.txt`, as strict expected failures. After a change to
|
|
151
|
+
the analysis, regenerate the list with `uv run python tests/triage.py`,
|
|
152
|
+
which holds the causes. It removes the cases that pass now and never adds a
|
|
153
|
+
case by itself: a failing case that is not in the list is a regression or a
|
|
154
|
+
new case, and the tool reports it and fails. Give such a case a cause in
|
|
155
|
+
`tests/triage.py` and add it with `--readmit <category>/<case>`.
|