You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Helper to load requirements list from a path or a list of paths.
Args:
requirements_files (Path | list[Path]): path or list to paths of requirements
file(s)
Returns:
list: list of requirements loaded from file(s)
"""
out_requirements= []
ifisinstance(requirements_files, Path):
requirements_files= [
requirements_files,
]
forrequirements_fileinrequirements_files:
withrequirements_file.open(encoding="UTF-8") asf:
out_requirements+= [
line
forlineinf.read().splitlines()
ifnotline.startswith(("#", "-")) andlen(line)
]
returnout_requirements
setup(
name='mkdocs-git-committers-plugin-2',
version='1.2.0',
description='An MkDocs plugin to create a list of contributors on the page. The git-committers plugin will seed the template context with a list of github committers and other useful GIT info such as last modified date',