Skip namespace package enforcement for PEP 723 scripts (#13974)

## Summary

Vendors the PEP 723 parser from
[uv](debe67ffdb/crates/uv-scripts/src/lib.rs (L283)).

Closes https://github.com/astral-sh/ruff/issues/13912.
This commit is contained in:
Charlie Marsh 2024-10-28 22:11:31 -04:00 committed by GitHub
parent b19862c64a
commit b6847b371e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 177 additions and 3 deletions

View file

@ -18,6 +18,7 @@ mod node;
mod nodes;
pub mod parenthesize;
pub mod relocate;
pub mod script;
pub mod statement_visitor;
pub mod stmt_if;
pub mod str;