# Allowlist for `python -m mypy.stubtest lmdb` (issue #469).
#
# stubtest compares the shipped stubs (lmdb/__init__.pyi, lmdb/aio.pyi)
# against the importable runtime module.  The entries below are known,
# intentional discrepancies rather than stub drift.

# `python -m lmdb` runs the CLI, which calls sys.exit() during import.
# stubtest imports every submodule, so importing __main__ raises SystemExit.
lmdb.__main__

# The compiled C extension submodule has no separate cpython.pyi; the public
# API it implements is stubbed at package level in lmdb/__init__.pyi.
lmdb.cpython

# Module-level loop variable in cffi.py's error-map construction; it is
# `del`-ed after use, but stubtest still infers it as a module global.
lmdb.cffi.obj
