Skip to content

Commit

Permalink
Bump pyyaml from 5.4.1 to 6.0 in /src (#62)
Browse files Browse the repository at this point in the history
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Franck Nijhof <[email protected]>
  • Loading branch information
dependabot[bot] and frenck authored Nov 1, 2021
1 parent b29352d commit 884af25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def is_default(validator, properties, instance, schema):
if config.suffix == "json":
configuration = json.load(fp)
else:
configuration = yaml.load(fp)
configuration = yaml.load(fp, Loader=yaml.SafeLoader)

with open("/config.schema.json") as fp:
schema = json.load(fp)
Expand Down Expand Up @@ -174,7 +174,7 @@ def is_default(validator, properties, instance, schema):
if build.suffix == "json":
build_configuration = json.load(fp)
else:
build_configuration = yaml.load(fp)
build_configuration = yaml.load(fp, Loader=yaml.SafeLoader)

with open("/build.schema.json") as fp:
build_schema = json.load(fp)
Expand Down
2 changes: 1 addition & 1 deletion src/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
jsonschema==4.1.2
pyyaml==5.4.1
pyyaml==6.0

0 comments on commit 884af25

Please sign in to comment.