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 e9452e5 commit d618b92Copy full SHA for d618b92
2 files changed
tests/requirements.txt
@@ -1 +1,2 @@
1
jsonschema==3.2.0
2
+progressbar2==4.4.2
tests/validate_schema.py
@@ -4,6 +4,7 @@
4
5
import json
6
import os
7
+import progressbar
8
9
from jsonschema import validate
10
@@ -14,9 +15,10 @@
14
15
games_list = os.listdir(path)
16
n = 0
17
-for game in games_list:
18
+
19
+for game in progressbar.progressbar(games_list, redirect_stdout=True):
20
n += 1
- print(f"{n}/{len(games_list)} - Validating {game}..")
21
+ print(f"Validating {game}..")
22
with open(f"../entries/{game}/game.json") as f:
23
game = json.load(f)
24
validate(game, schema)
0 commit comments