Merge branch 'meta-llama:main' into main

This commit is contained in:
Chacksu 2024-11-20 18:30:01 -05:00 committed by GitHub
commit a5acb59407
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -103,7 +103,7 @@ def generate_dependencies_file():
deps_file = REPO_ROOT / "distributions" / "dependencies.json"
with open(deps_file, "w") as f:
json.dump(distribution_deps, f, indent=2)
f.write(json.dumps(distribution_deps, indent=2) + "\n")
def main():

View file

@ -161,4 +161,4 @@ class DistributionTemplate(BaseModel):
docs = self.generate_markdown_docs()
with open(doc_output_dir / f"{self.name}.md", "w") as f:
f.write(docs)
f.write(docs if docs.endswith("\n") else docs + "\n")