1 |
commit: 5318fb2032cf24beafdda843af83c0a56d6c9dfe |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 20 04:40:25 2023 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 20 04:40:25 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=5318fb20 |
7 |
|
8 |
*/*: Reformat with newer Black |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
pym/gentoolkit/dependencies.py | 1 - |
13 |
pym/gentoolkit/ekeyword/ekeyword.py | 1 - |
14 |
pym/gentoolkit/equery/uses.py | 1 - |
15 |
pym/gentoolkit/eshowkw/__init__.py | 1 - |
16 |
pym/gentoolkit/revdep_rebuild/collect.py | 1 - |
17 |
pym/gentoolkit/textwrap_.py | 1 - |
18 |
6 files changed, 6 deletions(-) |
19 |
|
20 |
diff --git a/pym/gentoolkit/dependencies.py b/pym/gentoolkit/dependencies.py |
21 |
index f94b82e..cff2080 100644 |
22 |
--- a/pym/gentoolkit/dependencies.py |
23 |
+++ b/pym/gentoolkit/dependencies.py |
24 |
@@ -268,7 +268,6 @@ class Dependencies(Query): |
25 |
and pkgdep.cpv not in seen |
26 |
and (depth < max_depth or max_depth == -1) |
27 |
): |
28 |
- |
29 |
seen.add(pkgdep.cpv) |
30 |
result.append( |
31 |
pkgdep.graph_reverse_depends( |
32 |
|
33 |
diff --git a/pym/gentoolkit/ekeyword/ekeyword.py b/pym/gentoolkit/ekeyword/ekeyword.py |
34 |
index 4d017d4..d031c2f 100755 |
35 |
--- a/pym/gentoolkit/ekeyword/ekeyword.py |
36 |
+++ b/pym/gentoolkit/ekeyword/ekeyword.py |
37 |
@@ -138,7 +138,6 @@ def diff_keywords(old_keywords, new_keywords, style="color-inline"): |
38 |
output = "" |
39 |
|
40 |
for tag, i0, i1, j0, j1 in s.get_opcodes(): |
41 |
- |
42 |
if tag == "equal": |
43 |
output += s.a[i0:i1] |
44 |
|
45 |
|
46 |
diff --git a/pym/gentoolkit/equery/uses.py b/pym/gentoolkit/equery/uses.py |
47 |
index 89f011c..eeea356 100644 |
48 |
--- a/pym/gentoolkit/equery/uses.py |
49 |
+++ b/pym/gentoolkit/equery/uses.py |
50 |
@@ -337,7 +337,6 @@ def main(input_args): |
51 |
|
52 |
global_usedesc = get_global_useflags() |
53 |
for pkg in matches: |
54 |
- |
55 |
output = get_output_descriptions(pkg, global_usedesc) |
56 |
if output: |
57 |
if CONFIG["verbose"]: |
58 |
|
59 |
diff --git a/pym/gentoolkit/eshowkw/__init__.py b/pym/gentoolkit/eshowkw/__init__.py |
60 |
index ee58e8c..4bef14e 100644 |
61 |
--- a/pym/gentoolkit/eshowkw/__init__.py |
62 |
+++ b/pym/gentoolkit/eshowkw/__init__.py |
63 |
@@ -25,7 +25,6 @@ topper = "versionlist" |
64 |
|
65 |
|
66 |
def process_display(package, keywords, dbapi): |
67 |
- |
68 |
portdata = keywords_content( |
69 |
package, keywords.keywords, dbapi, ignore_slots, order, bold, topper |
70 |
) |
71 |
|
72 |
diff --git a/pym/gentoolkit/revdep_rebuild/collect.py b/pym/gentoolkit/revdep_rebuild/collect.py |
73 |
index 0e5d274..897a12c 100644 |
74 |
--- a/pym/gentoolkit/revdep_rebuild/collect.py |
75 |
+++ b/pym/gentoolkit/revdep_rebuild/collect.py |
76 |
@@ -134,7 +134,6 @@ def collect_libraries_from_dir(dirs, mask, logger): |
77 |
or listing.endswith(".a") |
78 |
or ".so." in listing |
79 |
): |
80 |
- |
81 |
if os.path.islink(listing): |
82 |
found_symlinks.add(listing) |
83 |
else: |
84 |
|
85 |
diff --git a/pym/gentoolkit/textwrap_.py b/pym/gentoolkit/textwrap_.py |
86 |
index fd28c6a..dbacfec 100644 |
87 |
--- a/pym/gentoolkit/textwrap_.py |
88 |
+++ b/pym/gentoolkit/textwrap_.py |
89 |
@@ -47,7 +47,6 @@ class TextWrapper(textwrap.TextWrapper): |
90 |
ansi_re = re.compile(r"\x1b\[[0-9;]*m") |
91 |
|
92 |
while chunks: |
93 |
- |
94 |
# Start the list of chunks that will make up the current line. |
95 |
# cur_len is just the length of all the chunks in cur_line. |
96 |
cur_line = [] |