Skip to content

Commit 40fd6c1

Browse files
authored
Merge branch 'main' into able-badger
2 parents dddc872 + 6ec9f33 commit 40fd6c1

3 files changed

Lines changed: 8 additions & 9 deletions

File tree

.github/hooks/scripts/stop_hook.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,12 @@ def main() -> int:
110110
response = {
111111
"hookSpecificOutput": {
112112
"hookEventName": "Stop",
113-
"decision": "block",
113+
"decision": "warn",
114114
"reason": (
115115
"You have uncommitted TypeScript changes. "
116-
"Before finishing, use the run-pre-commit-checks skill "
116+
"Before finishing, consider using the run-pre-commit-checks skill "
117117
"or manually run: npm run lint && npm run compile-tests && npm run unittest. "
118-
"If checks pass and changes are ready, commit them. "
119-
"If this session is just research/exploration, you can proceed without committing."
118+
"Ask the user whether to commit or leave changes uncommitted."
120119
),
121120
}
122121
}
@@ -128,10 +127,10 @@ def main() -> int:
128127
response = {
129128
"hookSpecificOutput": {
130129
"hookEventName": "Stop",
131-
"decision": "block",
130+
"decision": "warn",
132131
"reason": (
133132
"You have staged changes that haven't been committed. "
134-
"Either commit them with a proper message or unstage them before finishing."
133+
"Ask the user whether to commit them or leave them staged."
135134
),
136135
}
137136
}

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vscode-python-envs",
33
"displayName": "Python Environments",
44
"description": "Provides a unified python environment experience",
5-
"version": "1.27.0",
5+
"version": "1.29.0",
66
"publisher": "ms-python",
77
"preview": true,
88
"engines": {

0 commit comments

Comments
 (0)