Files
ruff/crates/ruff_python_ast/src
Micha Reiser 248de0b701 [ty] Skip scripts with an invalid PEP 723 configuration (#27505)
## Summary

Skip checking scripts with invalid PEP 723 metadata blocks, that are,
blocks that ty can't parse successfully or configurations that don't
resolve successfully. Instead, emit one diagnostic that points to the
invalid metadata.

ty still initializes a `Program` for each of those scripts so that LSP
operations continue to work. But we skip those scripts in all code paths
where we perform semantic checks.

Fixes https://github.com/astral-sh/ty/issues/4181.

## Test plan

Added tests
2026-08-20 10:34:53 +02:00
..
2026-06-28 23:23:37 +01:00
2023-08-07 16:04:50 +00:00