ruff/fuzz/fuzz_targets
Dylan 74f64d3f96
Server: Allow FixAll action in presence of version-specific syntax errors (#16848)
The single flag `has_syntax_error` on `LinterResult` is replaced with
two (private) flags: `has_valid_syntax` and
`has_no_unsupported_syntax_errors`, which record whether there are
`ParseError`s or `UnsupportedSyntaxError`s, respectively. Only the
former is used to prevent a `FixAll` action.

An attempt has been made to make consistent the usage of the phrases
"valid syntax" (which seems to be used to refer only to _parser_ errors)
and "syntax error" (which refers to both _parser_ errors and
version-specific syntax errors).

Closes #16841
2025-03-20 05:09:14 -05:00
..
red_knot_check_invalid_syntax.rs Add OsSystem support to mdtests (#16518) 2025-03-06 10:41:40 +01:00
ruff_fix_validity.rs Introduce LinterSettings 2023-09-20 17:02:34 +02:00
ruff_formatter_idempotency.rs Add a idempotent fuzz_target for ruff_python_formatter (#9448) 2024-01-11 08:55:59 +01:00
ruff_formatter_validity.rs Server: Allow FixAll action in presence of version-specific syntax errors (#16848) 2025-03-20 05:09:14 -05:00
ruff_parse_idempotency.rs Remove source path from parser errors (#9322) 2023-12-30 20:33:05 +00:00
ruff_parse_simple.rs Extract LineIndex independent methods from Locator (#13938) 2024-10-28 07:53:41 +00:00