aboutsummaryrefslogtreecommitdiff
path: root/scripts/json2fbbin/json2fbbin.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/json2fbbin/json2fbbin.py')
-rw-r--r--scripts/json2fbbin/json2fbbin.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/json2fbbin/json2fbbin.py b/scripts/json2fbbin/json2fbbin.py
index 957acb1..8f9f274 100644
--- a/scripts/json2fbbin/json2fbbin.py
+++ b/scripts/json2fbbin/json2fbbin.py
@@ -4,7 +4,8 @@
from pathlib import Path
from typing import Optional
-from runner.run_command import run_sh_command, RunShCommandError
+from runner.run_command import run_sh_command
+from runner.run_command import RunShCommandError
def fbbin_to_json(flatc: Path, fbs: Path, t_path: Path, o_path: Optional[Path] = None):
@@ -63,7 +64,10 @@ def main(argv=None):
parser.add_argument(
"--flatc",
type=Path,
- default="reference_model/build/thirdparty/serialization_lib/third_party/flatbuffers/flatc",
+ default=(
+ "reference_model/build/thirdparty/serialization_lib/"
+ "third_party/flatbuffers/flatc"
+ ),
help="the path to the flatc compiler program",
)
parser.add_argument(