mirror of
https://github.com/astral-sh/ruff
synced 2026-01-10 16:15:19 -05:00
<!-- Thank you for contributing to Ruff/ty! To help us out with reviewing, please consider the following: - Does this pull request include a summary of the change? (See below.) - Does this pull request include a descriptive title? (Please prefix with `[ty]` for ty pull requests.) - Does this pull request include references to any relevant issues? --> ## Summary The fix would create a syntax error if there wasn't a space between the `in` keyword and the following expression. For example: ```python for country, stars in(zip)(flag_stars.keys(), flag_stars.values()):... ``` I also noticed that the tests for `SIM911` were note being run, so I fixed that. Fixes #18776 <!-- What's the purpose of the change? What does it do, and why? --> ## Test Plan Add regression test <!-- How was it tested? -->