$npx skillfedfor your agent

flake8-functions

A flake8 extension that checks functions

With conditionsPyPI Python ModulesReleased Aug 2026356.8K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — flake8_functions-0.1.0-py3-none-any.whl
v0.1.0 · released 2026-08-14 · Python >=3.10

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.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; flake8 must be installed and configured.
  • Low friction install with no runtime dependencies.
  • Active maintenance as of 2026-08-14 with recent release history since 2019.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; suitable for most projects.

last release 2026-08-14 (0 days) · last repo commit 2026-08-14 · 50 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 356,801 downloads/mo, #7,278 on PyPI

Verify before relying

pip install flake8-functions
flake8 --max-function-length=100 your_code.py
  • Whether CFQ003 (purity check) correctly identifies side effects in all Python patterns
  • How configurable thresholds interact with existing flake8 configuration files
  • Performance impact on large codebases with many functions
Same gist for agents: .md · .json

What it is and 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.

The 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.

Use it for

  • 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

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

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.

Install

flake8-functions on PyPI

Before you install

Low friction install with no runtime dependencies. Active maintenance as of 2026-08-14 with recent release history since 2019.

Requires Python 3.10 or later; flake8 must be installed and configured.

License in practice

MIT license permits commercial and private use with minimal restrictions; suitable for most projects.

Quickstart

pip install flake8-functions
flake8 --max-function-length=100 your_code.py

Verify before relying

  • Whether CFQ003 (purity check) correctly identifies side effects in all Python patterns
  • How configurable thresholds interact with existing flake8 configuration files
  • Performance impact on large codebases with many functions

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 0 days since the last release
Last repo commit
First released
Downloads356,801 / month, #7,278 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Environment :: ConsoleFramework :: Flake8Intended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: DocumentationTopic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: Quality AssuranceTyping :: Typed

Evidence: flake8_functions-0.1.0-py3-none-any.whl

Tags

Capabilities
flake8 function length checkerenforce function complexity limitsfunction argument count linterflake8 code quality extensionfunction purity checker
Topics
flake8-plugincode-qualitylinting
PyPI keywords
flake8linterfunctions

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “flake8 function length checker”

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also flake8-annotations-complexity · mr-proper · flake8-cognitive-complexity · flake8-expression-complexity · flake8-class-attributes-order · flake8-variables-names · flake8-builtins · flake8-print · wemake-python-styleguide · purify