Add code README and automatic CHANGELOG entries
This commit is contained in:
parent
fbba2d2992
commit
42e706080a
4 changed files with 13 additions and 12 deletions
|
|
@ -1,7 +1,5 @@
|
|||
import csv
|
||||
import json
|
||||
from collections.abc import Generator
|
||||
from datetime import datetime
|
||||
from pathlib import Path
|
||||
from typing import Any, cast
|
||||
|
||||
|
|
@ -33,7 +31,6 @@ def package_kernel_csv(input_dir: Path, output_dir: Path) -> None:
|
|||
p_count = cast(int, data["XuKernel"][entry])
|
||||
p_date = date
|
||||
writer.writerow([p_date, p_name, p_count])
|
||||
# print(output_file, p_date, p_name, p_count)
|
||||
|
||||
|
||||
def ensure_dirs(input_dir: Path, output_dir: Path):
|
||||
|
|
@ -46,9 +43,6 @@ def main(input: str, output: str) -> None:
|
|||
input_dir = Path(input)
|
||||
output_dir = Path(output)
|
||||
ensure_dirs(input_dir, output_dir)
|
||||
# json_to_daily_pkg(Path(input) / "daily", Path(output) / "daily", force=True)
|
||||
# json_to_unique_csv(Path(input) / "daily", Path(output), force=True)
|
||||
|
||||
package_kernel_csv(input_dir, output_dir)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue