BSK-E0039 error

Invalid assert_type() call

assert_type(expr, Type) must be called with exactly 2 positional arguments.

- assert_type() — too few arguments (0 given) - assert_type(x) — too few arguments (1 given) - assert_type(x, int, extra) — too many arguments (3 given)

How to handle it

Every rule is on by default — strict is the default, not a cage. You can dial BSK-E0039 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-E0039