Skip to content

Commit d090c80

Browse files
committed
:arg: reduce console output (global logging level is DEBUG?)
1 parent fb1f4a2 commit d090c80

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/vuegen/quarto_reportview.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import logging
12
import os
23
import subprocess
34
import sys
@@ -219,6 +220,7 @@ def run_report(self, output_dir: str = BASE_DIR) -> None:
219220

220221
with open(notebook_filename, encoding="utf-8") as f:
221222
nb = nbformat.read(f, as_version=4)
223+
logging.getLogger("traitlets").setLevel(logging.INFO)
222224
ep = ExecutePreprocessor(timeout=600, kernel_name="python3")
223225
nb, _ = ep.preprocess(nb, {"metadata": {"path": "./"}})
224226
with open(notebook_filename, "w", encoding="utf-8") as f:

0 commit comments

Comments
 (0)