tailor
should not create targets for unparseable requirements.txt
/pyproject.toml
/etc.
#15734
Labels
backend: Python
Python backend-related issues
onboarding
Issues that affect a new user's onboarding experience
As described in #15276,
tailor
will currently generate targets which cover invalidrequirements.txt
files (and although not covered there, alsopyproject.toml
, etc). While improving our support for parsing those file types is definitely beneficial, our utmost priority should be thattailor
leaves a repository in a state where a command likepeek
will not fail.To that end, the Python
tailor
implementation should begin doing some lightweight validation of the files consumed by these macros before creating targets for them, and warning for any files that it will skip (with a message indicating how to silence the warning).The text was updated successfully, but these errors were encountered: