ladybug-tools / honeybee-core

:honeybee: honeybee core library
https://www.ladybug.tools/honeybee-core/docs/
GNU Affero General Public License v3.0
17 stars 15 forks source link

feat(validate): Greatly improve validation command #459

Closed chriswmackey closed 3 years ago

chriswmackey commented 3 years ago

Now that I have a better sense of how we want to report validation issues, I have refactored all of the checking functions to return strings of error reports rather than a boolean. This means that users get a full report of all the issues found in the model rather than the first exception that was encountered.

I also added a method on the Model class that I imagine I will use in IronPython and is also used by the validation command. This method (and the command) can also be used to check extension attributes.

github-actions[bot] commented 3 years ago

:tada: This PR is included in version 1.45.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: