Skip to content
Back to skills

Python Linting

ASecurity

Runs Ruff linting and formatting on Python files. Use only before pushing changes (e.g. before git push or creating a PR).

  • 396 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added May 28, 2026
ai-agentspythonbashgit

Security analysis

A100/100

Scanned May 28, 2026

npx -y skills add rhesis-ai/rhesis --skill python-linting --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Python Linting?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Python Linting
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rhesis-ai-python-linting/badge)](https://www.skillsdirectory.com/skills/rhesis-ai-python-linting)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: python-linting
description: Runs Ruff linting and formatting on Python files. Use only before pushing changes (e.g. before git push or creating a PR).
---

# Python Linting (Ruff)


## Workflow

### 1. Check for linting issues
```bash
uvx ruff check <path/to/file.py>
```

### 2. Auto-format the code
```bash
uvx ruff format <path/to/file.py>
```

### 3. Check again to verify
```bash
uvx ruff check <path/to/file.py>
```

### 4. Fix remaining issues
Review any issues not fixed by the auto-formatter and fix them manually.

## When to apply

- **Only** before pushing (e.g. before `git push` or creating a pull request)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.