# mypy.stubtest allowlist for gpridge._core (one regex per line).
#
# Everything here is a property of nanobind objects that stubtest cannot
# see through, not stub drift. Missing or extra methods, attributes,
# enum members and read-only fields are still reported.

# nanobind enums carry a private __nb_enum__ capsule.
gpridge\._core\.\w+\.__nb_enum__

# nanobind classes use nanobind's metaclass and are disjoint bases.
gpridge\._core\.(AtomicDimer|AtomsConfiguration|GPNEBConfig|GPNEBResult|GaussianProcessRegression|Image|NEBPath|OCINEBConfig|OCINEBResult|Observation|PotentialWrapper|Prior\w*|StudentTProcessRegression)

# Result types have no Python constructor; nanobind's placeholder takes *args.
gpridge\._core\.(GPNEBResult|OCINEBResult)\.__init__

# Module functions and static methods are nb_func objects without an
# inspectable signature.
gpridge\._core\.PotentialWrapper\.from_rgpot
gpridge\._core\.(_validate_parameters|abi_report|backend_name|canonical_dimer_parameters|check_abi|check_model_package|gp_neb|initialize_atoms_config|linalg_mode|neb_\w+_path|run_ocineb|set_linalg_mode|set_linalg_threads|set_training_product|training_product_configured)

# Stub-only type aliases for callback signatures.
gpridge\._core\.(ForceFn|RgPotFn)
