This skill provides instructions for linting Python code using ruff.
How to Lint
Run ruff to check for issues:
ruff check .
To automatically fix issues:
ruff check --fix .
Common Options
--select E,W - Only check for errors and warnings
--ignore E501 - Ignore line length errors
--fix - Automatically fix fixable issues
Example Output
example.py:1:1: F401 [*] `os` imported but unused
example.py:5:5: E302 Expected 2 blank lines, found 1
Found 2 errors (1 fixable).
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: openhands-software-agent-sdk-python-linting3description: Python Linting Skill4---56# Python Linting Skill78This skill provides instructions for linting Python code using ruff.910## How to Lint1112Run ruff to check for issues:1314```bash15ruff check .16```1718To automatically fix issues:1920```bash21ruff check --fix .22```2324## Common Options2526- `--select E,W` - Only check for errors and warnings27- `--ignore E501` - Ignore line length errors28- `--fix` - Automatically fix fixable issues2930## Example Output3132```33example.py:1:1: F401 [*] `os` imported but unused34example.py:5:5: E302 Expected 2 blank lines, found 135Found 2 errors (1 fixable).36```3738---39> Converted and distributed by [TomeVault](https://tomevault.io/claim/OpenHands) — claim your Tome and manage your conversions.40<!-- tomevault:4.0:skill_md:2026-04-16 -->
Run npx skillmds@latest add tomevault-io/openhands-software-agent-sdk-python-linting in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Python Linting Skill It is listed under AI & ML on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.