From: ross.burton@arm.com
To: yocto@lists.yoctoproject.org
Subject: [PATCH yocto-autobuilder-helper 1/3] scripts/abint: sort and organise imports
Date: Thu, 7 Mar 2024 16:42:43 +0000 [thread overview]
Message-ID: <20240307164245.783037-1-ross.burton@arm.com> (raw)
From: Ross Burton <ross.burton@arm.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
---
scripts/abint/abint.py | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/scripts/abint/abint.py b/scripts/abint/abint.py
index f4cb8b29..d4fbed7e 100755
--- a/scripts/abint/abint.py
+++ b/scripts/abint/abint.py
@@ -1,14 +1,15 @@
#! /usr/bin/env python3
-import re
import collections
-from pprint import pprint
-import bugzilla
-import pickle
-import requests
import dataclasses
-import arrow
import logging
+import pickle
+import pprint
+import re
+
+import arrow
+import bugzilla
+import requests
MOCK = False
# logging.basicConfig(level=logging.DEBUG)
@@ -83,7 +84,7 @@ def get_data():
for bug in bugs
]
- pprint(bugs)
+ pprint.pprint(bugs)
print(f"Found {len(bugs)} AB-INT bugs")
comments_data = bz.get_comments([bug.id for bug in bugs])["bugs"]
--
2.34.1
next reply other threads:[~2024-03-07 16:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-07 16:42 ross.burton [this message]
2024-03-07 16:42 ` [PATCH yocto-autobuilder-helper 2/3] scripts/abint: add argument parser ross.burton
2024-03-07 16:42 ` [PATCH yocto-autobuilder-helper 3/3] scripts/abint: fix sorting on initial display ross.burton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240307164245.783037-1-ross.burton@arm.com \
--to=ross.burton@arm.com \
--cc=yocto@lists.yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).