code.ruffRuff Python lints
Runs Ruff over Python sources. Ruff is a standalone Rust binary that parses code and reads pyproject.toml/ruff.toml as plain data; it never imports or executes the target and has no plugin mechanism. When the project has its own ruff configuration it is honoured; otherwise ruff runs with --isolated (no config discovered from parent directories) and the rule set E4,E7,E9,F,B,PLE,S (pycodestyle errors, pyflakes, bugbear, pylint errors, bandit-like security rules; S rules are skipped in tests/).
- Engine
- Wrapped scanner
- Wraps
ruff- Targets
- Codebase
- Areas
- Reliability, Maintainability, Security
- Runs
- By default, when the target applies
- Network
- Only the target itself
Run only this auditor
bunx openaudit . --only code.ruffWraps ruff. When it isn't installed, the auditor is skipped with an install hint and the rest of the audit runs.