Skip to main content

fix-black

Automatically fix black code formatting issues in any Azure SDK for Python package

来源信息

仓库
Azure/azure-sdk-for-python
最近来源活动
2026年4月27日 22:05
检测到的 SKILL.md 语言
英语
星标
5,587
分支
3,348

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
fix-black
description
Automatically fix black code formatting issues in any Azure SDK for Python package
# Fix Black Formatting Issues Skill This skill automatically fixes black code formatting issues in any Azure SDK for Python package. ## Instructions 1. Activate virtual environment FIRST 2. Install `eng/tools/azure-sdk-tools[build]` 3. Navigate to the package path 4. Run `azpysdk --isolate black .` 5. Review the changes with `git diff` 6. Commit the changes ## Notes - The Azure SDK uses `eng/black-pyproject.toml` for repo-wide configuration
在 GitHub 查看