ruff/crates/ruff_linter/resources/test/fixtures/flake8_pie
GiGaGon a33cff2b12
Fix F701 to F707 errors in tests (#19125)
## Summary

Per @ntBre in https://github.com/astral-sh/ruff/pull/19111, it would be
a good idea to make the tests no longer have these syntax errors, so
this PR updates the tests and snapshots.

`B031` gave me a lot of trouble since the ending test of declaring a
function named `groupby` makes it so that inside other functions, it's
unclear which `groupby` is referred to since it depends on when the
function is called. To fix it I made each function have it's own `from
itertools import groupby` so there's no more ambiguity.
2025-07-04 13:43:18 -05:00
..
PIE790.py [`flake8-pie`] Mark fix as unsafe if the following statement is a string literal (`PIE790`) (#14393) 2024-11-18 02:30:06 +00:00
PIE794.py Omit unrolled augmented assignments in `PIE794` (#8634) 2023-11-12 20:40:33 +00:00
PIE796.py [`flake8-pie`] Avoid false positive for multiple assignment with `auto()` (`PIE796`) (#17274) 2025-04-08 15:53:27 -04:00
PIE796.pyi [`flake8-pie`] Allow `cast(SomeType, ...)` (`PIE796`) (#15141) 2024-12-30 15:52:35 +01:00
PIE800.py [`flake8-pie`] Remove following comma correctly when the unpacked dictionary is empty (`PIE800`) (#16008) 2025-02-07 08:52:10 +01:00
PIE804.py Fix F701 to F707 errors in tests (#19125) 2025-07-04 13:43:18 -05:00
PIE807.py Generalize PIE807 to handle dict literals (#8608) 2023-11-13 17:55:17 +00:00
PIE808.py Handle parenthesized arguments in `remove_argument` (#18805) 2025-06-20 21:24:41 +00:00
PIE810.py Preserve raw string prefix and escapes (#15694) 2025-01-23 12:12:10 -05:00