maketool 0.8.12__tar.gz → 0.8.15__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {maketool-0.8.12 → maketool-0.8.15}/PKG-INFO +1 -1
- {maketool-0.8.12 → maketool-0.8.15}/maketool/refscan.py +14 -1
- {maketool-0.8.12 → maketool-0.8.15}/maketool.egg-info/PKG-INFO +1 -1
- {maketool-0.8.12 → maketool-0.8.15}/pyproject.toml +1 -1
- {maketool-0.8.12 → maketool-0.8.15}/README.md +0 -0
- {maketool-0.8.12 → maketool-0.8.15}/maketool/__init__.py +0 -0
- {maketool-0.8.12 → maketool-0.8.15}/maketool/build.py +0 -0
- {maketool-0.8.12 → maketool-0.8.15}/maketool/clean.py +0 -0
- {maketool-0.8.12 → maketool-0.8.15}/maketool/compile.py +0 -0
- {maketool-0.8.12 → maketool-0.8.15}/maketool/run.py +0 -0
- {maketool-0.8.12 → maketool-0.8.15}/maketool/sublime.py +0 -0
- {maketool-0.8.12 → maketool-0.8.15}/maketool.egg-info/SOURCES.txt +0 -0
- {maketool-0.8.12 → maketool-0.8.15}/maketool.egg-info/dependency_links.txt +0 -0
- {maketool-0.8.12 → maketool-0.8.15}/maketool.egg-info/entry_points.txt +0 -0
- {maketool-0.8.12 → maketool-0.8.15}/maketool.egg-info/top_level.txt +0 -0
- {maketool-0.8.12 → maketool-0.8.15}/setup.cfg +0 -0
|
@@ -124,6 +124,19 @@ def print_group(title: str, rows: list[tuple[str, list[str]]]) -> None:
|
|
|
124
124
|
print()
|
|
125
125
|
|
|
126
126
|
|
|
127
|
+
def print_group(title: str, rows: list[tuple[str, list[str]]]) -> None:
|
|
128
|
+
print(title)
|
|
129
|
+
print("-" * len(title))
|
|
130
|
+
for rel, refs in rows:
|
|
131
|
+
# no markers; print plain filename/path
|
|
132
|
+
if refs:
|
|
133
|
+
preview = ", ".join(refs[:3]) + (" ..." if len(refs) > 3 else "")
|
|
134
|
+
print(f"{rel} <-- {preview}")
|
|
135
|
+
else:
|
|
136
|
+
print(rel)
|
|
137
|
+
print()
|
|
138
|
+
|
|
139
|
+
|
|
127
140
|
# ----------------------------
|
|
128
141
|
# Missing-import report (merged from report.py)
|
|
129
142
|
# ----------------------------
|
|
@@ -346,7 +359,7 @@ def main() -> int:
|
|
|
346
359
|
if not refs:
|
|
347
360
|
unused_rows.append((c.rel, refs))
|
|
348
361
|
|
|
349
|
-
print_group("
|
|
362
|
+
print_group("UNUSED files (no filename/path tokens found)", unused_rows)
|
|
350
363
|
|
|
351
364
|
# Second report: missing imports (based on entry .py)
|
|
352
365
|
if entry.suffix.lower() == ".py":
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|