From 2424386a28ac5bfe42ef287d32c47dda01ab7fdc Mon Sep 17 00:00:00 2001 From: Yannick DAYER <yannick.dayer@idiap.ch> Date: Thu, 21 Jul 2022 19:19:42 +0200 Subject: [PATCH] [refactor] black --- bob/devtools/changelog.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/bob/devtools/changelog.py b/bob/devtools/changelog.py index 2e4840ee..d5b20692 100644 --- a/bob/devtools/changelog.py +++ b/bob/devtools/changelog.py @@ -60,7 +60,9 @@ def get_last_tag(package): # according to the Gitlab API documentation, tags are sorted from the last # updated to the first, by default - no need to do further sorting! - tag_list = package.tags.list(page=1, per_page=1) # Silence userWarning on list() + tag_list = package.tags.list( + page=1, per_page=1 + ) # Silence userWarning on list() if tag_list: # there are tags, use these @@ -86,7 +88,9 @@ def get_last_tag_date(package): # according to the Gitlab API documentation, tags are sorted from the last # updated to the first, by default - no need to do further sorting! - tag_list = package.tags.list(page=1, per_page=1) # Silence userWarning on list() + tag_list = package.tags.list( + page=1, per_page=1 + ) # Silence userWarning on list() if tag_list: # there are tags, use these -- GitLab