This commit is contained in:
2021-04-25 19:54:00 -07:00
parent 0c11cf9ffc
commit daaf21ca8d
3 changed files with 17 additions and 9 deletions

View File

@ -2,7 +2,7 @@ import os
from yaclog.changelog import Changelog
def read(path: os.PathLike):
def read(path):
"""
Create a new Changelog object from the given path
:param path: a path to a markdown changelog file

View File

@ -114,7 +114,7 @@ class VersionEntry:
class Changelog:
def __init__(self, path: os.PathLike = None):
def __init__(self, path=None):
self.path: os.PathLike = path
self.header: str = ''
self.versions: List[VersionEntry] = []