Fix Py Line Too Long banner
OpenHands OpenHands

Fix Py Line Too Long

Development community

Description

--- name: fix-py-line-too-long type: knowledge version: 1.0.0 agent: CodeActAgent triggers: - E501 - line too long --- # Instructions for fixing "E501 Line too long" ## For code lines Break into multiple lines using parentheses or brackets: ```python result = some_very_long_function_name( parameter1, parameter2, parameter3 ) ``` ## For single-line strings Use string concatenation: `"ABC"` → `("A" "B" "C")` ```python message = ("This is a very long string " "that needs to be bro

Installation

Installs to ~/.claude/skills/openhands-openhands-fix-py-line-too-long/SKILL.md

Terminal
mkdir -p ~/.claude/skills/openhands-openhands-fix-py-line-too-long && curl -fsSL https://raw.githubusercontent.com/OpenHands/OpenHands/HEAD/skills/fix-py-line-too-long.md -o ~/.claude/skills/openhands-openhands-fix-py-line-too-long/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository