pantsbuild / pants

The Pants Build System
https://www.pantsbuild.org
Apache License 2.0
3.34k stars 638 forks source link

Port config file validation to Rust. #21666

Closed benjyw closed 2 days ago

benjyw commented 3 days ago

This will allow us to get rid of the python-side Config reader entirely.

benjyw commented 2 days ago

Nice!

Are there existing Python-side config validation tests that this is either now running against, or can be run comparatively?

There are, and in fact one failed (just because I changed the phrasing from "invalid section" to "invalid table"; the section verbiage was a holdover from the pants.ini days, in TOML that is called a table).