ruff/crates/ruff_linter/resources/test/fixtures/ruff
Ken Baskett f4c8c7eb70
[ruff] Implement check for Decimal called with a float literal (RUF032) (#12909)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Micha Reiser <micha@reiser.io>
2024-08-19 09:22:19 +00:00
..
pyproject_toml Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
RUF005.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
RUF006.py Expand `asyncio-dangling-task` (`RUF006`) to include `new_event_loop` (#9976) 2024-02-13 18:28:06 +00:00
RUF007.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
RUF008.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
RUF009.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
RUF010.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
RUF012.py Add Pydantic's `BaseConfig` to default-copy list (#9650) 2024-01-26 14:54:48 +00:00
RUF013_0.py Avoid failures due to non-deterministic binding ordering (#10478) 2024-03-19 18:01:33 +00:00
RUF013_1.py Avoid failures due to non-deterministic binding ordering (#10478) 2024-03-19 18:01:33 +00:00
RUF013_2.py Treat all `typing_extensions` members as typing aliases (#9335) 2023-12-31 14:23:33 -04:00
RUF013_3.py Avoid failures due to non-deterministic binding ordering (#10478) 2024-03-19 18:01:33 +00:00
RUF015.py [`ruff`] Expand rule for `list(iterable).pop(0)` idiom (`RUF015`) (#10148) 2024-02-28 00:24:28 +00:00
RUF016.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
RUF017_0.py Perform insertions before replacements (#7739) 2023-10-01 14:53:54 +00:00
RUF017_1.py Perform insertions before replacements (#7739) 2023-10-01 14:53:54 +00:00
RUF018.py New rule: Prevent assignment expressions in assert statements (#7856) 2023-10-09 19:35:11 +00:00
RUF019.py Treat `not` operations as boolean tests (#12301) 2024-07-12 08:53:37 -04:00
RUF020.py Add a fix for `never-union` (#9218) 2023-12-21 21:01:09 +00:00
RUF021.py Spellcheck & grammar (#10375) 2024-03-13 02:34:23 +00:00
RUF022.py Spellcheck & grammar (#10375) 2024-03-13 02:34:23 +00:00
RUF023.py [`ruff`] Mark `RUF023` fix as unsafe if `__slots__` is not a set and the binding is used elsewhere (#12692) 2024-08-07 10:41:03 +01:00
RUF024.py Improve handling of builtin symbols in linter rules (#10919) 2024-04-16 11:37:31 +01:00
RUF026.py Stabilise rules RUF024 and RUF026 (#12026) 2024-06-27 13:44:11 +02:00
RUF027_0.py Fix panic on RUF027 (#9990) 2024-02-16 20:04:39 +00:00
RUF027_1.py [`ruff`] Ignore `fstring-missing-syntax` (`RUF027`) for `fastAPI` paths (#12939) 2024-08-17 11:10:34 +01:00
RUF027_2.py Fix panic on RUF027 (#9990) 2024-02-16 20:04:39 +00:00
RUF028.py Fix RUF028 not allowing `# fmt: skip` on match cases (#10178) 2024-03-01 00:36:23 -08:00
RUF029.py [`ruff`] Reduce FastAPI false positives in `unused-async` (`RUF029`) (#12938) 2024-08-17 14:25:14 +00:00
RUF030.py [`ruff`] Add `assert-with-print-expression` rule (#11974) (#11981) 2024-06-23 16:54:55 +00:00
RUF031.py `RUF031`: Ignore unparenthesized tuples in subscripts when the subscript is obviously a type annotation or type alias (#12762) 2024-08-09 20:31:27 +01:00
RUF031_prefer_parens.py `RUF031`: Ignore unparenthesized tuples in subscripts when the subscript is obviously a type annotation or type alias (#12762) 2024-08-09 20:31:27 +01:00
RUF032.py [ruff] Implement check for Decimal called with a float literal (RUF032) (#12909) 2024-08-19 09:22:19 +00:00
RUF100_0.py Fix a few typos found by codespell (#11404) 2024-05-13 13:22:35 +00:00
RUF100_1.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
RUF100_2.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
RUF100_3.py Avoid off-by-one error in stripping noqa following multi-byte char (#8979) 2023-12-03 11:01:58 -05:00
RUF100_4.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
RUF100_5.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
RUF101.py [`ruff`] Implement `redirected-noqa` (`RUF101`) (#11052) 2024-04-27 02:08:11 +00:00
confusables.py Use `ExprFString` for `StringLike::FString` variant (#10311) 2024-03-14 13:30:22 +05:30
flake8_noqa.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
noqa.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
redirects.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
ruff_noqa_all.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
ruff_noqa_codes.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
ruff_noqa_invalid.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
ruff_per_file_ignores.py Respect `per-file-ignores` for `RUF100` on blanket `# noqa` (#10908) 2024-04-12 13:45:29 +00:00