Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 15, 2024
1 parent 161a8d8 commit 6ee10f6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion plugins/sub_plugins/validate/jsonschema.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,11 @@ def _validate_jsonschema(self):

suppress_fields = []
if suppress_output:
suppress_fields = suppress_output if isinstance(suppress_output, list) else ["found", "relative_schema"]
suppress_fields = (
suppress_output
if isinstance(suppress_output, list)
else ["found", "relative_schema"]
)

for validation_error in validation_errors:
if isinstance(validation_error, jsonschema.ValidationError):
Expand Down

0 comments on commit 6ee10f6

Please sign in to comment.