Skip to content

Commit

Permalink
Merge 401802c into a874684
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdonnnj committed Aug 5, 2021
2 parents a874684 + 401802c commit f229f94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def get_version(version_file):
package_data={"lineage": ["templates/*.md"]},
py_modules=[splitext(basename(path))[0] for path in glob("src/*.py")],
include_package_data=True,
install_requires=["PyGithub", "pystache", "PyYAML", "setuptools >= 24.2.0"],
install_requires=["chevron", "PyGithub", "PyYAML", "setuptools >= 24.2.0"],
extras_require={
"test": [
"coverage",
Expand Down
6 changes: 3 additions & 3 deletions src/lineage/entrypoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
from urllib.parse import ParseResult, urlparse

# Third-Party Libraries
import chevron
from github import Github, PullRequest, Repository
import pkg_resources
import pystache
import requests
import yaml

Expand Down Expand Up @@ -372,13 +372,13 @@ def main() -> None:
}
if conflict_file_list:
title = f"⚠️ CONFLICT! Lineage pull request for: {lineage_id}"
body = pystache.render(conflict_template, template_data)
body = chevron.render(conflict_template, template_data)
create_pull_request(
repo, pr_branch_name, local_branch, title, body, draft=True
)
else:
title = f"Lineage pull request for: {lineage_id}"
body = pystache.render(clean_template, template_data)
body = chevron.render(clean_template, template_data)
create_pull_request(
repo, pr_branch_name, local_branch, title, body, draft=False
)
Expand Down

0 comments on commit f229f94

Please sign in to comment.