Openhands Software Agent Sdk Python Linting

Python Linting Skill

tomevault-io 691a1f2 2 files · 1.5 KB Updated

File contents

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

Converted and distributed by TomeVault — claim your Tome and manage your conversions.

tomevault-io/skills-registry/tree/main/openhands--software-agent-sdk--python-linting commit 691a1f263c

Frequently asked questions

npx skillmds@latest add tomevault-io/openhands-software-agent-sdk-python-linting