mirror of
https://github.com/YunoHost/apps.git
synced 2024-09-03 20:06:07 +02:00
Add type annotation to make_readme
Signed-off-by: Nils VAN ZUIJLEN <nils.van-zuijlen@mailo.com>
This commit is contained in:
parent
f444224486
commit
b508d10c6c
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ from pathlib import Path
|
||||||
from jinja2 import Environment, FileSystemLoader
|
from jinja2 import Environment, FileSystemLoader
|
||||||
|
|
||||||
|
|
||||||
def generate_READMEs(app_path):
|
def generate_READMEs(app_path: Path):
|
||||||
|
|
||||||
if not app_path.exists():
|
if not app_path.exists():
|
||||||
raise Exception("App path provided doesn't exists ?!")
|
raise Exception("App path provided doesn't exists ?!")
|
||||||
|
|
Loading…
Add table
Reference in a new issue