OpenHands

python-linting

@OpenHands/python-linting
OpenHands
432
109 forks
Updated 1/18/2026
View on GitHub

This skill helps lint Python code using ruff. Use when the user asks to "lint", "check code quality", or "fix style issues".

Installation

$skills install @OpenHands/python-linting
Claude Code
Cursor
Copilot
Codex
Antigravity

Details

Pathexamples/05_skills_and_plugins/02_loading_plugins/example_plugins/code-quality/skills/linting/SKILL.md
Branchmain
Scoped Name@OpenHands/python-linting

Usage

After installing, this skill will be available to your AI coding assistant.

Verify installation:

skills list

Skill Instructions


name: python-linting description: > This skill helps lint Python code using ruff. Use when the user asks to "lint", "check code quality", or "fix style issues". license: MIT compatibility: Requires Python and ruff metadata: author: openhands version: "1.0" triggers:

  • lint
  • linting
  • code quality
  • style check
  • ruff

Python Linting Skill

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).