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 719000f commit c769145Copy full SHA for c769145
generate.py
@@ -8,11 +8,11 @@
8
# "docutils",
9
# ]
10
# ///
11
+import logging
12
import subprocess
13
from collections.abc import Iterator
14
from dataclasses import dataclass
15
from datetime import datetime, timezone
-from logging import info
16
from pathlib import Path
17
from tempfile import TemporaryDirectory
18
@@ -84,7 +84,8 @@ class LanguageProjectData:
84
85
86
if __name__ == '__main__':
87
- info(f'starting at {generation_time}')
+ logging.basicConfig(level=logging.INFO)
88
+ logging.info(f'starting at {generation_time}')
89
template = Template(Path('template.html.jinja').read_text())
90
91
output = template.render(
0 commit comments