maketool 0.7.7__tar.gz → 0.7.9__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.7.7 → maketool-0.7.9}/PKG-INFO +1 -1
- {maketool-0.7.7 → maketool-0.7.9}/maketool/refscan.py +8 -5
- {maketool-0.7.7 → maketool-0.7.9}/maketool.egg-info/PKG-INFO +1 -1
- {maketool-0.7.7 → maketool-0.7.9}/pyproject.toml +1 -1
- {maketool-0.7.7 → maketool-0.7.9}/README.md +0 -0
- {maketool-0.7.7 → maketool-0.7.9}/maketool/__init__.py +0 -0
- {maketool-0.7.7 → maketool-0.7.9}/maketool/build.py +0 -0
- {maketool-0.7.7 → maketool-0.7.9}/maketool/clean.py +0 -0
- {maketool-0.7.7 → maketool-0.7.9}/maketool/compile.py +0 -0
- {maketool-0.7.7 → maketool-0.7.9}/maketool/run.py +0 -0
- {maketool-0.7.7 → maketool-0.7.9}/maketool/sublime.py +0 -0
- {maketool-0.7.7 → maketool-0.7.9}/maketool.egg-info/SOURCES.txt +0 -0
- {maketool-0.7.7 → maketool-0.7.9}/maketool.egg-info/dependency_links.txt +0 -0
- {maketool-0.7.7 → maketool-0.7.9}/maketool.egg-info/entry_points.txt +0 -0
- {maketool-0.7.7 → maketool-0.7.9}/maketool.egg-info/top_level.txt +0 -0
- {maketool-0.7.7 → maketool-0.7.9}/setup.cfg +0 -0
|
@@ -316,15 +316,18 @@ def compute_missing_used_imports(
|
|
|
316
316
|
|
|
317
317
|
|
|
318
318
|
def print_missing_imports(entry: Path) -> None:
|
|
319
|
-
|
|
319
|
+
|
|
320
|
+
title = "MISSING (used but not installed):"
|
|
321
|
+
print(title)
|
|
322
|
+
print("-" * len(title))
|
|
320
323
|
|
|
321
324
|
if packages_distributions is None:
|
|
322
|
-
print("
|
|
325
|
+
print("(skipped: Python 3.8+ required for packages_distributions())")
|
|
323
326
|
print()
|
|
324
327
|
return
|
|
325
328
|
|
|
326
329
|
if not entry.exists() or entry.suffix.lower() != ".py":
|
|
327
|
-
print("
|
|
330
|
+
print("(skipped: entry is not a .py file)")
|
|
328
331
|
print()
|
|
329
332
|
return
|
|
330
333
|
|
|
@@ -344,9 +347,9 @@ def print_missing_imports(entry: Path) -> None:
|
|
|
344
347
|
|
|
345
348
|
if missing:
|
|
346
349
|
for m in sorted(missing):
|
|
347
|
-
print(f"
|
|
350
|
+
print(f"{m}")
|
|
348
351
|
else:
|
|
349
|
-
print("
|
|
352
|
+
print("(none)")
|
|
350
353
|
print()
|
|
351
354
|
|
|
352
355
|
|
|
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
|