Initial commit
This commit is contained in:
12
.claude-plugin/plugin.json
Normal file
12
.claude-plugin/plugin.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"name": "python-formatter-black",
|
||||
"description": "Automatically format Python files with Black after Write/Edit/MultiEdit operations",
|
||||
"version": "1.0.1",
|
||||
"author": {
|
||||
"name": "robbyt",
|
||||
"email": "robbyt@robbyt.net"
|
||||
},
|
||||
"hooks": [
|
||||
"./hooks"
|
||||
]
|
||||
}
|
||||
3
README.md
Normal file
3
README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# python-formatter-black
|
||||
|
||||
Automatically format Python files with Black after Write/Edit/MultiEdit operations
|
||||
15
hooks/hooks.json
Normal file
15
hooks/hooks.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"hooks": {
|
||||
"PostToolUse": [
|
||||
{
|
||||
"matcher": "Write|Edit|MultiEdit",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/format-python.sh"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
45
plugin.lock.json
Normal file
45
plugin.lock.json
Normal file
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"$schema": "internal://schemas/plugin.lock.v1.json",
|
||||
"pluginId": "gh:robbyt/claude-skills:plugins/python-formatter-black",
|
||||
"normalized": {
|
||||
"repo": null,
|
||||
"ref": "refs/tags/v20251128.0",
|
||||
"commit": "719c6042934280816d56c19441a37efcc7ff47b9",
|
||||
"treeHash": "e74689d5a773534f525b3fabd7395f1cdd01a58629cc907ef453afc4768fab20",
|
||||
"generatedAt": "2025-11-28T10:28:00.903888Z",
|
||||
"toolVersion": "publish_plugins.py@0.2.0"
|
||||
},
|
||||
"origin": {
|
||||
"remote": "git@github.com:zhongweili/42plugin-data.git",
|
||||
"branch": "master",
|
||||
"commit": "aa1497ed0949fd50e99e70d6324a29c5b34f9390",
|
||||
"repoRoot": "/Users/zhongweili/projects/openmind/42plugin-data"
|
||||
},
|
||||
"manifest": {
|
||||
"name": "python-formatter-black",
|
||||
"description": "Automatically format Python files with Black after Write/Edit/MultiEdit operations",
|
||||
"version": "1.0.1"
|
||||
},
|
||||
"content": {
|
||||
"files": [
|
||||
{
|
||||
"path": "README.md",
|
||||
"sha256": "e29872933b4eaec0b4b196a3840c9f4d5fc92ee28801ebe631abea5d6bcb309c"
|
||||
},
|
||||
{
|
||||
"path": "hooks/hooks.json",
|
||||
"sha256": "c4b75231d258d39432e78d9b7dd233dcbd1dcb047aa6b1a5e72757f74f510cdd"
|
||||
},
|
||||
{
|
||||
"path": ".claude-plugin/plugin.json",
|
||||
"sha256": "6202ec0cd8ef6af7843751e55c0fdb3f4834abc91f47b3c8459148bbd8e4d973"
|
||||
}
|
||||
],
|
||||
"dirSha256": "e74689d5a773534f525b3fabd7395f1cdd01a58629cc907ef453afc4768fab20"
|
||||
},
|
||||
"security": {
|
||||
"scannedAt": null,
|
||||
"scannerVersion": null,
|
||||
"flags": []
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user