kopipasta 0.6.0__py3-none-any.whl → 0.7.0__py3-none-any.whl
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/main.py +7 -2
- {kopipasta-0.6.0.dist-info → kopipasta-0.7.0.dist-info}/METADATA +1 -1
- kopipasta-0.7.0.dist-info/RECORD +8 -0
- kopipasta-0.6.0.dist-info/RECORD +0 -8
- {kopipasta-0.6.0.dist-info → kopipasta-0.7.0.dist-info}/LICENSE +0 -0
- {kopipasta-0.6.0.dist-info → kopipasta-0.7.0.dist-info}/WHEEL +0 -0
- {kopipasta-0.6.0.dist-info → kopipasta-0.7.0.dist-info}/entry_points.txt +0 -0
- {kopipasta-0.6.0.dist-info → kopipasta-0.7.0.dist-info}/top_level.txt +0 -0
kopipasta/main.py
CHANGED
|
@@ -516,8 +516,13 @@ def process_directory(directory, ignore_patterns, current_char_count=0):
|
|
|
516
516
|
continue
|
|
517
517
|
|
|
518
518
|
selected_files, current_char_count = select_files_in_directory(root, ignore_patterns, current_char_count)
|
|
519
|
-
|
|
520
|
-
|
|
519
|
+
for file_tuple in selected_files:
|
|
520
|
+
if len(file_tuple) == 3:
|
|
521
|
+
f, use_snippet, chunks = file_tuple
|
|
522
|
+
files_to_include.append((os.path.join(root, f), use_snippet, chunks))
|
|
523
|
+
else:
|
|
524
|
+
f, use_snippet = file_tuple
|
|
525
|
+
files_to_include.append((os.path.join(root, f), use_snippet))
|
|
521
526
|
processed_dirs.add(root)
|
|
522
527
|
|
|
523
528
|
return files_to_include, processed_dirs, current_char_count
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
kopipasta/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
kopipasta/main.py,sha256=GuelSjwHqu5IPMMp8vsYPK7r0WxMzFeCg20f80xGSD4,27873
|
|
3
|
+
kopipasta-0.7.0.dist-info/LICENSE,sha256=xw4C9TAU7LFu4r_MwSbky90uzkzNtRwAo3c51IWR8lk,1091
|
|
4
|
+
kopipasta-0.7.0.dist-info/METADATA,sha256=U1MQF6l5bVukAIhFJRNz9R50CkJOVv43Hg2s_sbZNx8,5431
|
|
5
|
+
kopipasta-0.7.0.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
6
|
+
kopipasta-0.7.0.dist-info/entry_points.txt,sha256=but54qDNz1-F8fVvGstq_QID5tHjczP7bO7rWLFkc6Y,50
|
|
7
|
+
kopipasta-0.7.0.dist-info/top_level.txt,sha256=iXohixMuCdw8UjGDUp0ouICLYBDrx207sgZIJ9lxn0o,10
|
|
8
|
+
kopipasta-0.7.0.dist-info/RECORD,,
|
kopipasta-0.6.0.dist-info/RECORD
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
kopipasta/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
kopipasta/main.py,sha256=OmS54IQo4mJLUu_t6RYrEuLuJlFmnN9lEoZbZya3m-A,27657
|
|
3
|
-
kopipasta-0.6.0.dist-info/LICENSE,sha256=xw4C9TAU7LFu4r_MwSbky90uzkzNtRwAo3c51IWR8lk,1091
|
|
4
|
-
kopipasta-0.6.0.dist-info/METADATA,sha256=F3sWcMABaUy5hT0RWuZwpCkIsvhMNxLya8mhV6nXcFs,5431
|
|
5
|
-
kopipasta-0.6.0.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
6
|
-
kopipasta-0.6.0.dist-info/entry_points.txt,sha256=but54qDNz1-F8fVvGstq_QID5tHjczP7bO7rWLFkc6Y,50
|
|
7
|
-
kopipasta-0.6.0.dist-info/top_level.txt,sha256=iXohixMuCdw8UjGDUp0ouICLYBDrx207sgZIJ9lxn0o,10
|
|
8
|
-
kopipasta-0.6.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|