$npx skillfedfor your agent

flake8-string-format

string format checker, plugin for flake8

With conditionsPyPI Python ModulesReleased Jun 2026170.8K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — flake8_string_format-0.4.0-py3-none-any.whl
v0.4.0 · released 2026-06-09 · Python >=3.8 · 1 runtime deps: flake8

Yes, if you use Flake8 and want to catch format string errors statically. The plugin is lightweight, actively maintained, permissively licensed, and has no known vulnerabilities. Install it if format string correctness matters in your codebase; skip it only if you never use str.format() or already rely on type checking and runtime testing to catch these errors.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires flake8 to be installed; Python >= 3.8 required.
  • Low friction: pure Python wheel with a single runtime dependency on flake8.
  • Actively maintained as of 2026-06-09 with recent Python 3.14 compatibility fixes.

License · maintenance · safety

MIT (permissive) — MIT license (permissive) — no restrictions on use, modification, or distribution in proprietary or open-source projects.

last release 2026-06-09 (66 days) · last repo commit 2026-08-01 · 20 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 170,838 downloads/mo, #10,385 on PyPI

Verify before relying

pip install flake8-string-format

Then run flake8 as usual; the plugin auto-registers:
  $ flake8 your_file.py
  your_file.py:1:1: FMT101 format string contains unindexed parameters
  • Whether the plugin correctly handles all modern f-string edge cases beyond str.format()
  • Performance impact on large codebases with many format strings
  • Compatibility with recent Flake8 versions beyond 3.0
Same gist for agents: .md · .json

What it is and what it does

flake8-string-format is a Flake8 linter plugin that analyzes all string format operations in your code and reports errors when format calls don't match their arguments. It detects unindexed parameters (which fail in Python 2.6), mismatched argument counts, unused parameters, and mixing of implicit and explicit indexing. The plugin integrates directly into Flake8's error reporting and can be controlled via standard Flake8 ignore flags.

It works by parsing format strings and their corresponding format() calls, checking whether the parameters referenced in the string actually exist in the call's arguments. It distinguishes between format strings (where format() is called), docstrings, and plain strings, issuing different error codes for each context. The plugin handles variable arguments gracefully by skipping checks that would be unreliable when *args or **kwargs are present.

Use it for

  • Catch format string bugs during CI/CD by detecting mismatched argument counts before runtime
  • Enforce Python 2.6 compatibility by flagging unindexed parameters like '{}'.format(x)
  • Identify unused parameters passed to format() calls, reducing confusion and maintenance burden
  • Detect typos in keyword argument names in format strings like '{name}'.format(nmae=value)
  • Validate docstrings and other string literals for consistent format parameter usage

Worth the install?

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

With conditions

Yes, if you use Flake8 and want to catch format string errors statically.

The plugin is lightweight, actively maintained, permissively licensed, and has no known vulnerabilities. Install it if format string correctness matters in your codebase; skip it only if you never use str.format() or already rely on type checking and runtime testing to catch these errors.

Install

flake8-string-format on PyPI

Before you install

Low friction: pure Python wheel with a single runtime dependency on flake8. Actively maintained as of 2026-06-09 with recent Python 3.14 compatibility fixes.

Requires flake8 to be installed; Python >= 3.8 required.

License in practice

MIT license (permissive) — no restrictions on use, modification, or distribution in proprietary or open-source projects.

Quickstart

pip install flake8-string-format

Then run flake8 as usual; the plugin auto-registers:
  $ flake8 your_file.py
  your_file.py:1:1: FMT101 format string contains unindexed parameters

Verify before relying

  • Whether the plugin correctly handles all modern f-string edge cases beyond str.format()
  • Performance impact on large codebases with many format strings
  • Compatibility with recent Flake8 versions beyond 3.0

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
flake8
MaintenanceActively maintained 66 days since the last release
Last repo commit
First released
Downloads170,838 / month, #10,385 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaEnvironment :: ConsoleFramework :: Flake8Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Topic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: Quality Assurance

Evidence: flake8_string_format-0.4.0-py3-none-any.whl

Tags

Capabilities
flake8 string format checkerformat string validationflake8 plugin format parametersdetect format string errorspython format call linter
Topics
lintingcode-quality
PyPI keywords
flake8format

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 string format checker”

  • flake8-string-formatA Flake8 plugin that validates string format calls, checking for…
  • flake8-use-fstringA flake8 plugin that detects and flags old-style string formatting (%…
  • flake8-pep3101A flake8 plugin that detects and flags old-style string formatting…

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-pep3101 · flake8-implicit-str-concat · flake8-no-implicit-concat · flake8-use-fstring · flake8-noqa · flake8-broken-line · flake8-rst-docstrings · flake8-annotations · flake8-print · flake8-mutable