Skip to content

Mirror the multi-line docstring rule in wb-dev codestyle summary#36

Open
ilyatikhonyuk wants to merge 3 commits into
mainfrom
feature/wb-dev-codestyle-docstrings
Open

Mirror the multi-line docstring rule in wb-dev codestyle summary#36
ilyatikhonyuk wants to merge 3 commits into
mainfrom
feature/wb-dev-codestyle-docstrings

Conversation

@ilyatikhonyuk

Copy link
Copy Markdown
Contributor

What changed

  • wb-devreferences/codestyle.md, Python "Key differences" list: new bullet — docstrings are always multi-line (nothing on the line after the opening """, text starts on the next line, closing """ on its own line); not enforced by black/isort/pylint, checked in review.
  • Versions: wb-plc plugin → 1.12.2, wb-cli → 1.8.13 (changelog + pyproject + __init__.py in lockstep).

Why

The canonical rule lands in wirenboard/codestyle python.ru.md (wirenboard/codestyle#123); the wb-development:codestyle skill reads that file on every run and needs no change. But the wb-dev skill carries its own short summary of the Python deviations — without this bullet the summary contradicts the updated canon and an agent that reads only the summary keeps producing one-line docstrings.

Test plan

Doc-only change; wording matches the codestyle PR verbatim.

Risks

🤖 Generated with Claude Code

The wb-dev codestyle reference summarizes the key Python deviations
from PEP8; add the team docstring convention (always multi-line,
nothing after the opening triple quotes) so the summary stays in
sync with wirenboard/codestyle python.ru.md.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…yle-docstrings

# Conflicts:
#	.claude-plugin/plugin.json
#	debian/changelog
#	pyproject.toml
#	wb_cli/__init__.py
…yle-docstrings

# Conflicts:
#	.claude-plugin/plugin.json
#	debian/changelog
#	pyproject.toml
#	wb_cli/__init__.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant