kopipasta 0.7.0__tar.gz → 0.8.0__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.
Potentially problematic release.
This version of kopipasta might be problematic. Click here for more details.
- {kopipasta-0.7.0/kopipasta.egg-info → kopipasta-0.8.0}/PKG-INFO +1 -1
- {kopipasta-0.7.0 → kopipasta-0.8.0}/kopipasta/main.py +4 -1
- {kopipasta-0.7.0 → kopipasta-0.8.0/kopipasta.egg-info}/PKG-INFO +1 -1
- {kopipasta-0.7.0 → kopipasta-0.8.0}/setup.py +1 -1
- {kopipasta-0.7.0 → kopipasta-0.8.0}/LICENSE +0 -0
- {kopipasta-0.7.0 → kopipasta-0.8.0}/MANIFEST.in +0 -0
- {kopipasta-0.7.0 → kopipasta-0.8.0}/README.md +0 -0
- {kopipasta-0.7.0 → kopipasta-0.8.0}/kopipasta/__init__.py +0 -0
- {kopipasta-0.7.0 → kopipasta-0.8.0}/kopipasta.egg-info/SOURCES.txt +0 -0
- {kopipasta-0.7.0 → kopipasta-0.8.0}/kopipasta.egg-info/dependency_links.txt +0 -0
- {kopipasta-0.7.0 → kopipasta-0.8.0}/kopipasta.egg-info/entry_points.txt +0 -0
- {kopipasta-0.7.0 → kopipasta-0.8.0}/kopipasta.egg-info/requires.txt +0 -0
- {kopipasta-0.7.0 → kopipasta-0.8.0}/kopipasta.egg-info/top_level.txt +0 -0
- {kopipasta-0.7.0 → kopipasta-0.8.0}/requirements.txt +0 -0
- {kopipasta-0.7.0 → kopipasta-0.8.0}/setup.cfg +0 -0
|
@@ -374,11 +374,14 @@ def select_file_patches(file_path):
|
|
|
374
374
|
break
|
|
375
375
|
elif choice == 'n':
|
|
376
376
|
placeholder = get_placeholder_comment(language)
|
|
377
|
-
chunks
|
|
377
|
+
if chunks and chunks[-1] != placeholder:
|
|
378
|
+
chunks.append(placeholder)
|
|
378
379
|
total_char_count += len(placeholder)
|
|
379
380
|
break
|
|
380
381
|
elif choice == 'q':
|
|
381
382
|
print("Skipping the rest of the file.")
|
|
383
|
+
if chunks and chunks[-1] != placeholder:
|
|
384
|
+
chunks.append(placeholder)
|
|
382
385
|
return chunks, total_char_count
|
|
383
386
|
else:
|
|
384
387
|
print("Invalid choice. Please enter 'y', 'n', or 'q'.")
|
|
@@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
|
|
|
5
5
|
|
|
6
6
|
setup(
|
|
7
7
|
name="kopipasta",
|
|
8
|
-
version="0.
|
|
8
|
+
version="0.8.0",
|
|
9
9
|
author="Mikko Korpela",
|
|
10
10
|
author_email="mikko.korpela@gmail.com",
|
|
11
11
|
description="A CLI tool to generate prompts with project structure and file contents",
|
|
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
|