mirror of
https://github.com/astral-sh/ruff
synced 2026-01-11 08:34:29 -05:00
There are cases where the python grammar enforces expressions after certain statements. In such cases we want to suppress irrelevant keywords from the auto-complete suggestions. E.g. `with a<CURSOR>`, suggesting `raise` here never makes sense because it is not valid by the grammar.