File tree 4 files changed +10
-4
lines changed
4 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 8
8
},
9
9
"remoteUser" : " root" ,
10
10
"onCreateCommand" : " echo 'eval \" $(starship init bash)\" ' >> ~/.bashrc" ,
11
- "postCreateCommand" : " uv sync && uv run pre-commit install --install-hooks" ,
11
+ "postCreateCommand" : " uv sync && pre-commit install --install-hooks" ,
12
+ "containerEnv" : {
13
+ "VIRTUAL_ENV" : " /opt/venv" ,
14
+ "PATH" : " /opt/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" ,
15
+ "UV_PROJECT_ENVIRONMENT" : " /opt/venv" ,
16
+ },
12
17
"customizations" : {
13
18
"vscode" : {
14
19
"extensions" : [
36
41
"github.copilot.chat.edits.codesearch.enabled" : true ,
37
42
"github.copilot.chat.edits.enabled" : true ,
38
43
"github.copilot.nextEditSuggestions.enabled" : true ,
39
- "python.defaultInterpreterPath" : " /workspaces/substrate/. venv/bin/python" ,
40
- "python.terminal.activateEnvironment" : true ,
44
+ "python.defaultInterpreterPath" : " /opt/ venv/bin/python" ,
45
+ "python.terminal.activateEnvironment" : false ,
41
46
"terminal.integrated.env.linux" : {
42
47
"GIT_EDITOR" : " code --wait"
43
48
},
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ dependencies = [
11
11
12
12
[tool .commitizen ]
13
13
bump_message = " bump: v$current_version → v$new_version"
14
+ pre_bump_hooks = [" uv lock --offline --upgrade-package substrate" ]
14
15
tag_format = " v$version"
15
16
update_changelog_on_bump = true
16
17
version_provider = " pep621"
Original file line number Diff line number Diff line change 7
7
{% - if project_type == 'app' %}
8
8
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
9
9
{% - endif %}
10
- "ghcr.io/devcontainers/features/node:1": {},
11
10
"ghcr.io/devcontainers-extra/features/starship": {}
12
11
},
13
12
"overrideCommand": true,
Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ dev = [
62
62
63
63
[tool.commitizen] # https://commitizen-tools.github.io/commitizen/config/
64
64
bump_message = "bump: v$current_version → v$new_version"
65
+ pre_bump_hooks = ["uv lock --offline --upgrade-package {{ project_name_kebab_case }}"]
65
66
tag_format = "v$version"
66
67
update_changelog_on_bump = true
67
68
version_provider = "pep621"
You can’t perform that action at this time.
0 commit comments