directives_reveal_type
error
Invalid reveal_type() call
reveal_type(expr) must be called with exactly one positional argument.
- reveal_type() — too few arguments (0 given) - reveal_type(a, b) — too many arguments (2 given)
How to handle it
Every rule is on by default — strict is the default, not a cage. You can dial
directives_reveal_type 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/directives_reveal_type