Claude-skill-registry python-linting
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/linting" ~/.claude/skills/majiayu000-claude-skill-registry-python-linting && rm -rf "$T"
manifest:
skills/data/linting/SKILL.mdsource content
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
- Only check for errors and warnings--select E,W
- Ignore line length errors--ignore E501
- Automatically fix fixable issues--fix
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).