# Ruff

Keep Python lint findings out of changes

Catch undefined names, unused imports and other selected errors across Python modules. Commit the rule selection in pyproject.toml so editors and CI agree.

Category: Code quality
Languages: Python
Seikika catalog assessment: packaged (5/5 checks passed).

## Adoption

Use Ruff in this repository to meet this standard: Keep Python lint findings out of changes. Catch undefined names, unused imports and other selected errors across Python modules. Commit the rule selection in pyproject.toml so editors and CI agree. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.

### Tool command

```
ruff check .
```

### Seikika package

[sarif (Seikika kit)](https://github.com/seikika/seikika/tree/89eb0a2fcd2ffe67151df43f2a062ebc8a1e497c/packages/sarif)

Add github:seikika/seikika/packages/sarif@89eb0a2fcd2ffe67151df43f2a062ebc8a1e497c to the include list in .seikika/seikika.yaml. Copy the Ruff include parameters from the SARIF package guide and set files to your Python source globs. Run seikika install .seikika from the checkout root.

## References

- [Tool documentation](https://docs.astral.sh/ruff/)
- [Agent skill](/skills/ruff/SKILL.md)
