New project configuration parser with a strict options typing

This commit is contained in:
Ivan Kravets
2019-05-31 14:45:01 +03:00
parent 61db0f1d6a
commit 5f9fd9260e
6 changed files with 44 additions and 30 deletions

View File

@ -179,6 +179,11 @@ class UnknownEnvNames(PlatformIOProjectException):
MESSAGE = "Unknown environment names '{0}'. Valid names are '{1}'"
class ProjectOptionValueError(PlatformIOProjectException):
MESSAGE = "{0} for option `{1}` in section [{2}]"
#
# Library
#