skills/fix-py-line-too-long/SKILL.md
--- name: fix-py-line-too-long description: Break into multiple lines using parentheses or brackets: category: Development & Code Tools source: openhands tags: [python, agent] url: https://github.com/OpenHands/OpenHands/blob/main/skills/fix-py-line-too-long.md --- # 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-
npx skillsauth add ranbot-ai/awesome-skills skills/fix-py-line-too-longInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Break into multiple lines using parentheses or brackets:
result = some_very_long_function_name(
parameter1, parameter2, parameter3
)
Use string concatenation: "ABC" → ("A" "B" "C")
message = ("This is a very long string "
"that needs to be broken up")
Add # noqa: E501 AFTER the ending """. NEVER add it inside the docstring.
def example_function():
"""This is a very long docstring that exceeds the line length limit.""" # noqa: E501
pass
# noqa: E501 inside docstrings or multi-line stringstools
Use when a user asks to mine or update a private, evidence-backed work profile from local Claude Code, Codex, Copilot CLI, or OpenCode sessions.
data-ai
Use when diagnosing Android overheating, idle heat, thermal throttling, charging or radio heat, or abnormal battery drain with read-only ADB evidence and approval gates.
research
Research public competitor ads, analyze creative patterns and landing pages, and produce an evidence-labeled strategic teardown.
tools
Compiled CLI covering all 52 endpoints of the Anytype local API — objects, properties, tags, search, chat, files — one binary, no MCP server needed.