Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump jinja2 from 3.1.4 to 3.1.5 #45

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions chronographer/event_handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ async def on_pr(event):
pr_labels = {label['name'] for label in pull_request['labels']}
diff_url = (
f'https://github.com/{repo_slug}'
f'/pull/{pull_request["number"]:d}.diff'
f'/pull/{pull_request['number']:d}.diff'
)
head_branch = pull_request['head']['ref']
head_sha = pull_request['head']['sha']
Expand Down Expand Up @@ -187,7 +187,7 @@ async def on_pr(event):
'title':
f'{checks_summary_title_prefix!s}'
'Nothing to do — change note not required',
'text': f'Labels: {", ".join(pr_labels)}',
'text': f'Labels: {', '.join(pr_labels)}',
'summary':
'Heeeeey!'
'\n\n'
Expand Down Expand Up @@ -266,7 +266,7 @@ async def on_pr(event):
'Check run ID is %s',
resp['id'],
)
check_runs_updates_uri = f'{check_runs_base_uri}/{resp["id"]:d}'
check_runs_updates_uri = f'{check_runs_base_uri}/{resp['id']:d}'

logger.info("Here's the diff URL: %s", diff_url)
diff_text = await gh_api.getitem(
Expand Down Expand Up @@ -315,7 +315,7 @@ async def on_pr(event):
)

if news_fragments_added and fragment_provided_label is not None:
labels_url = f'{pull_request["issue_url"]}/labels'
labels_url = f'{pull_request['issue_url']}/labels'
await gh_api.post(
labels_url,
preview_api_version='symmetra',
Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -359,9 +359,9 @@ isort==5.13.2 \
--hash=sha256:48fdfcb9face5d58a4f6dde2e72a1fb8dcaf8ab26f95ab49fab84c2ddefb0109 \
--hash=sha256:8ca5e72a8d85860d5a3fa69b8745237f2939afe12dbf656afbcb47fe72d947a6
# via pylint
jinja2==3.1.4 \
--hash=sha256:4a3aee7acbbe7303aede8e9648d13b8bf88a429282aa6122a993f0ac800cb369 \
--hash=sha256:bc5dd2abb727a5319567b7a813e6a2e7318c39f4f487cfe6c89c6f9c7d25197d
jinja2==3.1.5 \
--hash=sha256:8fefff8dc3034e27bb80d67c671eb8a9bc424c0ef4c0826edbff304cceff43bb \
--hash=sha256:aba0f4dc9ed8013c424088f68a5c226f7d6097ed89b246d7749c2ec4175c6adb
# via towncrier
markupsafe==2.1.5 \
--hash=sha256:00e046b6dd71aa03a41079792f8473dc494d564611a8f89bbbd7cb93295ebdcf \
Expand Down