{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/13"},{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance/2"},{"label":"Documentation","url":"https://skillfed.io/packages/category/software-development-documentation"}],"enrichment":{"capability":"A flake8 extension that enforces function-level code quality rules: function length, argument count, return statement count, and function purity.","skillfed_tags":["flake8-plugin","code-quality","linting"],"use_cases":["Enforce maximum function length in team codebases to prevent functions spanning multiple screens","Limit function parameter counts to catch overly complex function signatures during code review","Detect functions with multiple return statements that may indicate unclear control flow","Identify impure functions (those with side effects) in codebases targeting functional programming patterns"],"what_it_does":"flake8-functions is a linter plugin that adds four new rule categories to flake8, targeting functions that may harm code readability or maintainability. It checks for functions exceeding a configurable line length (CFQ001, default 100), functions with too many parameters (CFQ002, default 6), functions that are not pure (CFQ003), and functions with excessive return statements (CFQ004, default 3). The tool integrates directly into flake8's reporting pipeline, so violations appear alongside standard flake8 output.\n\nThe package is designed for teams where code readability across multiple developers is a priority. It has no runtime dependencies beyond flake8 itself, installs cleanly, and supports Python 3.10 through 3.14. Configuration is done via flake8's standard command-line flags (e.g., --max-function-length). The project is actively maintained and carries an MIT license.","worth_installing":"Yes, if your team values function-level code quality enforcement and uses flake8. The plugin is lightweight, actively maintained, carries no licensing restrictions, and has no external dependencies. Install it if you want automated checks for function complexity; skip it if your team prefers manual review or uses a different linter."},"id":"flake8-functions","links":{"html":"https://skillfed.io/packages/flake8-functions","md":"https://skillfed.io/packages/flake8-functions.md","pypi":"https://pypi.org/project/flake8-functions/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-14","license_spdx":"MIT","license_treatment":"permissive","name":"flake8-functions","python_support":"supports_current","summary":"A flake8 extension that checks functions"},"popularity":{"monthly_downloads":356801,"position":7278,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.1.0"}
