mirror of
https://github.com/drewcassidy/yaclog.git
synced 2024-09-01 14:58:58 +00:00
Cleanup
This commit is contained in:
@ -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
|
||||
|
@ -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] = []
|
||||
|
Reference in New Issue
Block a user