mirror of
https://github.com/SikongJueluo/Mini-Nav.git
synced 2026-07-13 04:25:32 +08:00
- Move load_env_file, parse_timeout_seconds, build_remote_script, and build_ssh_command to scripts/common.py - Update remote_docker_run.py to import from common module - Improves code organization and reusability
31 lines
906 B
JSON
31 lines
906 B
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/kenryu42/claude-code-safety-net/main/assets/cc-safety-net.schema.json",
|
|
"version": 1,
|
|
"rules": [
|
|
{
|
|
"name": "block-uv-run",
|
|
"command": "uv",
|
|
"subcommand": "run",
|
|
"block_args": [
|
|
"python",
|
|
"python3",
|
|
"pytest",
|
|
"pip",
|
|
"-m",
|
|
"--module",
|
|
"--help",
|
|
"--version",
|
|
"-h",
|
|
"-v"
|
|
],
|
|
"reason": "Local Environment is not avaiable. Please use \"just remote <cmd>\" to run commands in the remote docker. And remember to run \"just upload\" before run commands in the remote docker."
|
|
},
|
|
{
|
|
"name": "block-uv-sync",
|
|
"command": "uv",
|
|
"block_args": ["sync"],
|
|
"reason": "The project is managed by micromamba and uv. Do not sync packages directly by uv. Use \"just sync-pkgs\" or \"uv sync --inexact\" instead."
|
|
}
|
|
]
|
|
}
|