Skip to content

Commit

Permalink
checker debug default to True added frcYear
Browse files Browse the repository at this point in the history
  • Loading branch information
jasondaming committed May 22, 2024
1 parent feee6f2 commit 1192470
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions check.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,13 @@ def load(self, json_fn):
def getboolean(self, option):
try:
for section in reversed(message_context):
rv = self.parser.getboolean(section, option, fallback=None)
rv = self.parser.getboolean(section, option, fallback=True)
if rv is not None:
return rv
return self.parser.getboolean('global', option, fallback=False)
return self.parser.getboolean('global', option, fallback=True)
except ValueError as e:
print('{0}: could not coerce {1} to boolean: {2}'.format(basefn + '.ini', option, e), file=sys.stderr)
return False
return True

file_config = FileConfig()

Expand All @@ -119,12 +119,13 @@ def __init__(self, inner):
self.inner = inner

json_schema = {
'fileName': '',
'name': '',
'version': '',
'frcYear': 0,
'uuid': '',
'mavenUrls': [''],
'jsonUrl': '',
'fileName': '',
'javaDependencies': [{
'groupId': '',
'artifactId': '',
Expand Down

0 comments on commit 1192470

Please sign in to comment.