fix(tt_tool): fails to load info.yaml

also --check-docs fails
This commit is contained in:
Uri Shaked
2023-12-23 22:42:47 +02:00
parent 45633298e8
commit 1a154feba2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ class Project:
else self.local_dir
)
yaml_path = os.path.join(self.src_dir, "info.yaml")
yaml_path = os.path.join(self.local_dir, "info.yaml")
try:
with open(yaml_path) as fh:
self.info = ProjectInfo(yaml.safe_load(fh))
+1 -1
View File
@@ -126,7 +126,7 @@ if __name__ == "__main__":
# handle the options
if args.check_docs:
project.check_yaml_docs()
project.check_docs()
if args.print_cell_summary or args.print_cell_category:
project.summarize()