We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d01dd80 commit ab3ba40Copy full SHA for ab3ba40
docs/example/static/StaticLibrary.py renamed to docs/example/01-static/StaticLibrary.py
docs/example/static/test.robot renamed to docs/example/01-static/test.robot
docs/example/run.py
@@ -5,10 +5,14 @@
5
parser = argparse.ArgumentParser("Runner for examples")
6
parser.add_argument("type", help="Which example is run.")
7
args = parser.parse_args()
8
-if args.type not in ["static", "dynamic"]:
+if args.type == "static":
9
+ folder = f"01-{args.type}"
10
+elif args.type == "hybrid":
11
+ folder = f"02-{args.type}"
12
+else:
13
raise ValueError("Invalid value for library type.")
14
run_cli([
15
"--pythonpath",
- args.type,
- args.type
16
+ folder,
17
+ folder
18
])
0 commit comments