ApeWorX / ape

The smart contract development tool for Pythonistas, Data Scientists, and Security Professionals
https://apeworx.io
Apache License 2.0
845 stars 124 forks source link

fix: better error handling for bad dependencies: config #2132

Closed antazoey closed 2 weeks ago

antazoey commented 2 weeks ago

What I did

handle if the dependencies: config is the wrong type (e.g. not a list of dicts)

How I did it

raise ConfigErrors in model_validate

How to verify it

make a config like:

dependencies:
  name: openzeppelin
...

(notice forgot the - )

Checklist