@gnost-cli/darwin-arm64 0.5.2-rc.1 → 0.5.2-rc.2
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.
- package/bundle/_internal/base_library.zip +0 -0
- package/bundle/_internal/gnost/__init__.py +1 -1
- package/bundle/_internal/gnost/cli/app.py +3 -1
- package/bundle/_internal/{gnost-0.5.2rc1.dist-info → gnost-0.5.2rc2.dist-info}/METADATA +1 -1
- package/bundle/_internal/{gnost-0.5.2rc1.dist-info → gnost-0.5.2rc2.dist-info}/RECORD +11 -11
- package/bundle/gnost +0 -0
- package/package.json +1 -1
- /package/bundle/_internal/{gnost-0.5.2rc1.dist-info → gnost-0.5.2rc2.dist-info}/INSTALLER +0 -0
- /package/bundle/_internal/{gnost-0.5.2rc1.dist-info → gnost-0.5.2rc2.dist-info}/REQUESTED +0 -0
- /package/bundle/_internal/{gnost-0.5.2rc1.dist-info → gnost-0.5.2rc2.dist-info}/WHEEL +0 -0
- /package/bundle/_internal/{gnost-0.5.2rc1.dist-info → gnost-0.5.2rc2.dist-info}/direct_url.json +0 -0
- /package/bundle/_internal/{gnost-0.5.2rc1.dist-info → gnost-0.5.2rc2.dist-info}/entry_points.txt +0 -0
- /package/bundle/_internal/{gnost-0.5.2rc1.dist-info → gnost-0.5.2rc2.dist-info}/licenses/LICENSE +0 -0
- /package/bundle/_internal/{gnost-0.5.2rc1.dist-info → gnost-0.5.2rc2.dist-info}/top_level.txt +0 -0
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.5.
|
|
1
|
+
__version__ = "0.5.2rc2"
|
|
@@ -104,9 +104,11 @@ def _risk_to_score(risk_score: float) -> float:
|
|
|
104
104
|
|
|
105
105
|
|
|
106
106
|
def _resolve_repo_root(path: str) -> str:
|
|
107
|
+
"""Nearest parent with .git or pyproject.toml; the project folder if none."""
|
|
107
108
|
current = os.path.abspath(path)
|
|
108
109
|
if os.path.isfile(current):
|
|
109
110
|
current = os.path.dirname(current)
|
|
111
|
+
start = current
|
|
110
112
|
|
|
111
113
|
while True:
|
|
112
114
|
if os.path.isdir(os.path.join(current, ".git")) or os.path.isfile(
|
|
@@ -116,7 +118,7 @@ def _resolve_repo_root(path: str) -> str:
|
|
|
116
118
|
|
|
117
119
|
parent = os.path.dirname(current)
|
|
118
120
|
if parent == current:
|
|
119
|
-
return
|
|
121
|
+
return start
|
|
120
122
|
current = parent
|
|
121
123
|
|
|
122
124
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
../../../bin/gnost,sha256=p7RTDNcaheWadRtZ7EtW_BElkh_SkS2KgiiBeIZQs-M,201
|
|
2
|
-
gnost-0.5.
|
|
3
|
-
gnost-0.5.
|
|
4
|
-
gnost-0.5.
|
|
5
|
-
gnost-0.5.
|
|
6
|
-
gnost-0.5.
|
|
7
|
-
gnost-0.5.
|
|
8
|
-
gnost-0.5.
|
|
9
|
-
gnost-0.5.
|
|
10
|
-
gnost-0.5.
|
|
11
|
-
gnost/__init__.py,sha256=
|
|
2
|
+
gnost-0.5.2rc2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
|
3
|
+
gnost-0.5.2rc2.dist-info/METADATA,sha256=GNzdemLrWgmxB3hTkX4bzQLA4WOOHkPcaSfewbou2Fg,5556
|
|
4
|
+
gnost-0.5.2rc2.dist-info/RECORD,,
|
|
5
|
+
gnost-0.5.2rc2.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
|
+
gnost-0.5.2rc2.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
7
|
+
gnost-0.5.2rc2.dist-info/direct_url.json,sha256=sdS4lLlEK3BXuZZ5mGuHUsgOlY50fNVlHD9NmMVASSc,64
|
|
8
|
+
gnost-0.5.2rc2.dist-info/entry_points.txt,sha256=6hH5dxCq1FF8sPT7gTwZ3xLBZr8UxCLTa7I6DpLvLSA,41
|
|
9
|
+
gnost-0.5.2rc2.dist-info/licenses/LICENSE,sha256=jSxVi5s4A9DSR8ur6XCzThpnbpaDxDP0_UN6hbJ156c,1066
|
|
10
|
+
gnost-0.5.2rc2.dist-info/top_level.txt,sha256=UExzNRqfi7WIWspHyv4lAZqhY9y4n46VRkVcZE5ael4,6
|
|
11
|
+
gnost/__init__.py,sha256=HtG3pxmhM9RrybwJX4CHS2qdHTEHVYggcuJtZGJa478,25
|
|
12
12
|
gnost/__pycache__/__init__.cpython-312.pyc,,
|
|
13
13
|
gnost/analysis/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
14
|
gnost/analysis/__pycache__/__init__.cpython-312.pyc,,
|
|
@@ -56,7 +56,7 @@ gnost/analysis/utils/tool_command.py,sha256=ulpYsAxySELDS5L-BIfJxS09GNXasldydSy3
|
|
|
56
56
|
gnost/cli/__init__.py,sha256=UnZHq0-yKSNcM2twPuY8J9c1H1FFBahz_37XwwHBQ4U,51
|
|
57
57
|
gnost/cli/__pycache__/__init__.cpython-312.pyc,,
|
|
58
58
|
gnost/cli/__pycache__/app.cpython-312.pyc,,
|
|
59
|
-
gnost/cli/app.py,sha256=
|
|
59
|
+
gnost/cli/app.py,sha256=f5vzabJswzSD06q0qBaTsLfVTX6Zr9Of5_jmj2R5vQg,24798
|
|
60
60
|
gnost/cli/commands/__init__.py,sha256=QZrdP00N-JGSlK4V5h-t5yz3VXFKgFcsMGoJmrAi-vM,77
|
|
61
61
|
gnost/cli/commands/__pycache__/__init__.cpython-312.pyc,,
|
|
62
62
|
gnost/cli/commands/__pycache__/analysis.cpython-312.pyc,,
|
package/bundle/gnost
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/bundle/_internal/{gnost-0.5.2rc1.dist-info → gnost-0.5.2rc2.dist-info}/direct_url.json
RENAMED
|
File without changes
|
/package/bundle/_internal/{gnost-0.5.2rc1.dist-info → gnost-0.5.2rc2.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
/package/bundle/_internal/{gnost-0.5.2rc1.dist-info → gnost-0.5.2rc2.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
/package/bundle/_internal/{gnost-0.5.2rc1.dist-info → gnost-0.5.2rc2.dist-info}/top_level.txt
RENAMED
|
File without changes
|