Skip to content

Commit d3c14a9

Browse files
tpellissierclaude
andcommitted
Add black formatting rule to dev skill
Ensures Claude Code runs black before committing, matching CI requirements. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 2042ad4 commit d3c14a9

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

  • .claude/skills/dataverse-sdk-dev
  • src/PowerPlatform/Dataverse/claude_skill/dataverse-sdk-dev

.claude/skills/dataverse-sdk-dev/SKILL.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,5 @@ This skill provides guidance for developers working on the PowerPlatform Dataver
2525
7. **Standardize output format** - Use `[INFO]`, `[WARN]`, `[ERR]`, `[OK]` prefixes for console output
2626
8. **No noqa comments** - Do not add `# noqa: BLE001` or similar linter suppression comments
2727
9. **Document public APIs** - Add Sphinx-style docstrings with examples for public methods
28-
10. **Define __all__ in module files, not __init__.py** - Use `__all__` to control exports in the actual module file (e.g., errors.py), not in `__init__.py`.
28+
10. **Define __all__ in module files, not __init__.py** - Use `__all__` to control exports in the actual module file (e.g., errors.py), not in `__init__.py`.
29+
11. **Run black before committing** - Always run `python -m black <changed files>` before committing. CI will reject unformatted code. Config is in `pyproject.toml` under `[tool.black]`.

src/PowerPlatform/Dataverse/claude_skill/dataverse-sdk-dev/SKILL.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,5 @@ This skill provides guidance for developers working on the PowerPlatform Dataver
2525
7. **Standardize output format** - Use `[INFO]`, `[WARN]`, `[ERR]`, `[OK]` prefixes for console output
2626
8. **No noqa comments** - Do not add `# noqa: BLE001` or similar linter suppression comments
2727
9. **Document public APIs** - Add Sphinx-style docstrings with examples for public methods
28-
10. **Define __all__ in module files, not __init__.py** - Use `__all__` to control exports in the actual module file (e.g., errors.py), not in `__init__.py`.
28+
10. **Define __all__ in module files, not __init__.py** - Use `__all__` to control exports in the actual module file (e.g., errors.py), not in `__init__.py`.
29+
11. **Run black before committing** - Always run `python -m black <changed files>` before committing. CI will reject unformatted code. Config is in `pyproject.toml` under `[tool.black]`.

0 commit comments

Comments
 (0)