commit: 5318fb2032cf24beafdda843af83c0a56d6c9dfe
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 20 04:40:25 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 20 04:40:25 2023 +0000
URL: https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=5318fb20
*/*: Reformat with newer Black
Signed-off-by: Sam James <sam <AT> gentoo.org>
pym/gentoolkit/dependencies.py | 1 -
pym/gentoolkit/ekeyword/ekeyword.py | 1 -
pym/gentoolkit/equery/uses.py | 1 -
pym/gentoolkit/eshowkw/__init__.py | 1 -
pym/gentoolkit/revdep_rebuild/collect.py | 1 -
pym/gentoolkit/textwrap_.py | 1 -
6 files changed, 6 deletions(-)
diff --git a/pym/gentoolkit/dependencies.py b/pym/gentoolkit/dependencies.py
index f94b82e..cff2080 100644
--- a/pym/gentoolkit/dependencies.py
+++ b/pym/gentoolkit/dependencies.py
@@ -268,7 +268,6 @@ class Dependencies(Query):
and pkgdep.cpv not in seen
and (depth < max_depth or max_depth == -1)
):
-
seen.add(pkgdep.cpv)
result.append(
pkgdep.graph_reverse_depends(
diff --git a/pym/gentoolkit/ekeyword/ekeyword.py
b/pym/gentoolkit/ekeyword/ekeyword.py
index 4d017d4..d031c2f 100755
--- a/pym/gentoolkit/ekeyword/ekeyword.py
+++ b/pym/gentoolkit/ekeyword/ekeyword.py
@@ -138,7 +138,6 @@ def diff_keywords(old_keywords, new_keywords,
style="color-inline"):
output = ""
for tag, i0, i1, j0, j1 in s.get_opcodes():
-
if tag == "equal":
output += s.a[i0:i1]
diff --git a/pym/gentoolkit/equery/uses.py b/pym/gentoolkit/equery/uses.py
index 89f011c..eeea356 100644
--- a/pym/gentoolkit/equery/uses.py
+++ b/pym/gentoolkit/equery/uses.py
@@ -337,7 +337,6 @@ def main(input_args):
global_usedesc = get_global_useflags()
for pkg in matches:
-
output = get_output_descriptions(pkg, global_usedesc)
if output:
if CONFIG["verbose"]:
diff --git a/pym/gentoolkit/eshowkw/__init__.py
b/pym/gentoolkit/eshowkw/__init__.py
index ee58e8c..4bef14e 100644
--- a/pym/gentoolkit/eshowkw/__init__.py
+++ b/pym/gentoolkit/eshowkw/__init__.py
@@ -25,7 +25,6 @@ topper = "versionlist"
def process_display(package, keywords, dbapi):
-
portdata = keywords_content(
package, keywords.keywords, dbapi, ignore_slots, order, bold, topper
)
diff --git a/pym/gentoolkit/revdep_rebuild/collect.py
b/pym/gentoolkit/revdep_rebuild/collect.py
index 0e5d274..897a12c 100644
--- a/pym/gentoolkit/revdep_rebuild/collect.py
+++ b/pym/gentoolkit/revdep_rebuild/collect.py
@@ -134,7 +134,6 @@ def collect_libraries_from_dir(dirs, mask, logger):
or listing.endswith(".a")
or ".so." in listing
):
-
if os.path.islink(listing):
found_symlinks.add(listing)
else:
diff --git a/pym/gentoolkit/textwrap_.py b/pym/gentoolkit/textwrap_.py
index fd28c6a..dbacfec 100644
--- a/pym/gentoolkit/textwrap_.py
+++ b/pym/gentoolkit/textwrap_.py
@@ -47,7 +47,6 @@ class TextWrapper(textwrap.TextWrapper):
ansi_re = re.compile(r"\x1b\[[0-9;]*m")
while chunks:
-
# Start the list of chunks that will make up the current line.
# cur_len is just the length of all the chunks in cur_line.
cur_line = []