**Source**: Official Ruff Documentation **Total Rules**: 71 rules **Purpose**: Return statement pattern analysis This rule family provides specialized checks for Python code quality and specific use cases.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of 1626 Return Values Aaf84b05?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tools-only-1626-return-values-aaf84b05)
# R: flake8-return Rules
**Source**: Official Ruff Documentation **Total Rules**: 71 rules **Purpose**: Return statement pattern analysis
This rule family provides specialized checks for Python code quality and specific use cases.
## Overview
Return statement pattern analysis
## Quick Start
Enable this rule family by adding it to your Ruff configuration:
```toml
[tool.ruff.lint]
extend-select = ["return-values"]
```
## Rule Categories
For a complete list of all rules in this family, use the Ruff CLI:
```bash
ruff rule --all | grep "^# return-values.md"
```
## Official Documentation
For detailed information about each rule, including examples and configuration options, visit: [Official Ruff Rules Documentation](https://docs.astral.sh/ruff/rules/)
## Configuration
Most rules in this family support configuration through options in `pyproject.toml` or `ruff.toml`. Refer to the official documentation for family-specific configuration parameters.
## Integration
This rule family works best when combined with core linting rules:
- E, F, W: Core Python style and logical errors
- B: Common bugs and design problems
- I: Import organization
- N: Naming conventions
---
**Last Updated**: 2025-11-04 **Status**: Reference documentation for 71 rules rules