Fix Black

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

Azure Updated

File contents

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

Azure/azure-sdk-for-python/tree/main/.github/skills/fix-black commit a6e9e84e90

Frequently asked questions

npx skillmds@latest add azure-azure-sdk-for-python/fix-black