3 Commits

Author SHA1 Message Date
Azalea Gui 46ea72641f [F] Fix import 2023-11-06 03:52:52 -05:00
Azalea Gui 62929dd48a [F] Fix typo 2023-11-06 03:32:31 -05:00
Azalea Gui 25e319d898 [U] Update readme 2023-11-06 03:00:33 -05:00
3 changed files with 4 additions and 3 deletions
+1
View File
@@ -8,3 +8,4 @@
| `tqdm_utils` | tqdm |
| `downloader` | tqdm, requests |
| `scientific_utils` | numpy, numba, matplotlib |
| `git_utils` | dateutil |
+1 -1
View File
@@ -1,6 +1,6 @@
from __future__ import annotations
__version__ = "1.0.19"
__version__ = "1.0.22"
import time
from typing import Callable
+2 -2
View File
@@ -4,7 +4,7 @@ from pathlib import Path
from subprocess import check_output
from typing import NamedTuple
import dateutil
import dateutil.parser
class ExtractedCommit(NamedTuple):
@@ -19,7 +19,7 @@ class ExtractedCommit(NamedTuple):
return dateutil.parser.isoparse(self.time)
def git_log(path: Path, fail_silently: False) -> list[ExtractedCommit]:
def git_log(path: Path, fail_silently: bool = False) -> list[ExtractedCommit]:
"""
Call and parse git log. This function requires that git>=2.37.1 is installed on your system.