BSK-E0115 error

Use of deprecated class, function, or method

PEP 702 introduces @deprecated from typing / typing_extensions. Using a deprecated entity (calling, importing, accessing) should produce a diagnostic so that developers migrate away from the deprecated API.

from typing_extensions import deprecated

@deprecated("Use new_func instead")
def old_func() -> None: ...

old_func()  # BSK-E0115

Real basilisk check output

What you see when BSK-E0115 fires on a minimal example:

basilisk check output reporting BSK-E0115 — Use of deprecated class, function, or method

How to handle it

Every rule is on by default — strict is the default, not a cage. You can dial BSK-E0115 down per-file or per-path from your editor or pyproject.toml, or fix the code so it type-checks. See the Type System rules and the complete diagnostic reference.

Canonical URL: https://www.basilisk-python.dev/errors/BSK-E0115