aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-03-20 04:40:25 +0000
committerSam James <sam@gentoo.org>2023-03-20 04:40:25 +0000
commit5318fb2032cf24beafdda843af83c0a56d6c9dfe (patch)
treec9a19940e0b029251c075111866848e80bad59d6
parentCI: add Python 3.12 alphas (diff)
downloadgentoolkit-5318fb2032cf24beafdda843af83c0a56d6c9dfe.tar.gz
gentoolkit-5318fb2032cf24beafdda843af83c0a56d6c9dfe.tar.bz2
gentoolkit-5318fb2032cf24beafdda843af83c0a56d6c9dfe.zip
*/*: Reformat with newer Black
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--pym/gentoolkit/dependencies.py1
-rwxr-xr-xpym/gentoolkit/ekeyword/ekeyword.py1
-rw-r--r--pym/gentoolkit/equery/uses.py1
-rw-r--r--pym/gentoolkit/eshowkw/__init__.py1
-rw-r--r--pym/gentoolkit/revdep_rebuild/collect.py1
-rw-r--r--pym/gentoolkit/textwrap_.py1
6 files changed, 0 insertions, 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 = []