Practice · 2 of 2
Contract Validator
CHALLENGE
Difficulty: intermediate+25 XP
Implement validate_project(pyproject_text) returning a list of problem strings for a pyproject: missing [project], missing name, missing version, and any dependency without a version constraint (a bare package name in dependencies). A fully valid file returns [].
Press Submit to check your solution.
Back to lesson: Practice: pyproject.toml Drills