Skip to content
Commit 5c6674f6 authored by Jakub Kicinski's avatar Jakub Kicinski
Browse files

tools: ynl: load jsonschema on demand



The CLI script tries to validate jsonschema by default.
It's seems better to validate too many times than too few.
However, when copying the scripts to random servers having
to install jsonschema is tedious. Load jsonschema via
importlib, and let the user opt out.

Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 8dfec0a8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment