chinus-tools 1.0.5__tar.gz → 1.0.6__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.
- {chinus_tools-1.0.5 → chinus_tools-1.0.6}/PKG-INFO +1 -1
- {chinus_tools-1.0.5 → chinus_tools-1.0.6}/pyproject.toml +1 -1
- {chinus_tools-1.0.5 → chinus_tools-1.0.6}/src/chinus_tools/git/status.py +3 -3
- {chinus_tools-1.0.5 → chinus_tools-1.0.6}/src/chinus_tools.egg-info/PKG-INFO +1 -1
- {chinus_tools-1.0.5 → chinus_tools-1.0.6}/README.md +0 -0
- {chinus_tools-1.0.5 → chinus_tools-1.0.6}/setup.cfg +0 -0
- {chinus_tools-1.0.5 → chinus_tools-1.0.6}/src/chinus_tools/__init__.py +0 -0
- {chinus_tools-1.0.5 → chinus_tools-1.0.6}/src/chinus_tools/git/__init__.py +0 -0
- {chinus_tools-1.0.5 → chinus_tools-1.0.6}/src/chinus_tools/jsons.py +0 -0
- {chinus_tools-1.0.5 → chinus_tools-1.0.6}/src/chinus_tools/paths/__init__.py +0 -0
- {chinus_tools-1.0.5 → chinus_tools-1.0.6}/src/chinus_tools/paths/get/__init__.py +0 -0
- {chinus_tools-1.0.5 → chinus_tools-1.0.6}/src/chinus_tools/paths/get/absolute_path.py +0 -0
- {chinus_tools-1.0.5 → chinus_tools-1.0.6}/src/chinus_tools/paths/get/project_root.py +0 -0
- {chinus_tools-1.0.5 → chinus_tools-1.0.6}/src/chinus_tools/print_input_utils/__init__.py +0 -0
- {chinus_tools-1.0.5 → chinus_tools-1.0.6}/src/chinus_tools/print_input_utils/multi_line_io.py +0 -0
- {chinus_tools-1.0.5 → chinus_tools-1.0.6}/src/chinus_tools.egg-info/SOURCES.txt +0 -0
- {chinus_tools-1.0.5 → chinus_tools-1.0.6}/src/chinus_tools.egg-info/dependency_links.txt +0 -0
- {chinus_tools-1.0.5 → chinus_tools-1.0.6}/src/chinus_tools.egg-info/requires.txt +0 -0
- {chinus_tools-1.0.5 → chinus_tools-1.0.6}/src/chinus_tools.egg-info/top_level.txt +0 -0
@@ -1,12 +1,12 @@
|
|
1
1
|
import subprocess
|
2
2
|
|
3
3
|
|
4
|
-
def get_modified_items() ->
|
4
|
+
def get_modified_items() -> list:
|
5
5
|
"""
|
6
6
|
Git 상태를 확인하여 수정된 최상위 폴더 또는 파일의 목록을 공백으로 구분된 문자열로 반환합니다.
|
7
7
|
|
8
8
|
Returns:
|
9
|
-
|
9
|
+
list: 수정된 최상위 폴더 또는 파일들 리스트
|
10
10
|
"""
|
11
11
|
# 'git status --porcelain'으로 변경 사항이 있는지 확인
|
12
12
|
result = subprocess.run(['git', 'status', '--porcelain'], capture_output=True, text=True)
|
@@ -21,4 +21,4 @@ def get_modified_items() -> str:
|
|
21
21
|
modified_items.add(top_level_item)
|
22
22
|
|
23
23
|
# 공백으로 구분된 문자열로 변환
|
24
|
-
return
|
24
|
+
return list(modified_items)
|
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
|
{chinus_tools-1.0.5 → chinus_tools-1.0.6}/src/chinus_tools/print_input_utils/multi_line_io.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|