python-linting
This skill helps lint Python code using ruff. Use when the user asks to "lint", "check code quality", or "fix style issues".
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
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).
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-31
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!