summarylogtreecommitdiffstats
path: root/no_progress_bars.patch
blob: b6bc544c806d626ea6f742d3af11f7538f6cda18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
diff --git a/bindgen/__init__.py b/bindgen/__init__.py
index f8a5900..f051e9c 100644
--- a/bindgen/__init__.py
+++ b/bindgen/__init__.py
@@ -328,7 +328,7 @@ def parse_modules(
             get_includes.__defaults__,
             init_clang.__defaults__,
         )
-        for name, files in tqdm(module_dict.items())
+        for name, files in tqdm(module_dict.items(), disable=True)
     )
 
     return modules
@@ -350,7 +350,7 @@ def transform_modules(
         return m
 
     modules = Parallel(prefer="processes", n_jobs=n_jobs)(
-        delayed(_filter_module)(m) for m in tqdm(modules)
+        delayed(_filter_module)(m) for m in tqdm(modules, disable=True)
     )
 
     # construct global class dictionary
@@ -527,7 +527,7 @@ def render(settings, module_settings, modules, class_dict, prefix=Path("")):
 
     output_path.mkdir_p()
     with output_path:
-        for m in tqdm(modules):
+        for m in tqdm(modules, disable=True):
             tqdm.write(f"Processing module {m.name}")
 
             jinja_env.globals.update(