{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/17"},{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance/3"}],"enrichment":{"capability":"A Flake8 plugin that validates string format calls, checking for mismatched parameters, missing arguments, and unindexed format strings incompatible with Python 2.6.","skillfed_tags":["linting","code-quality"],"use_cases":["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"],"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.\n\nIt 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.","worth_installing":"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."},"id":"flake8-string-format","links":{"html":"https://skillfed.io/packages/flake8-string-format","md":"https://skillfed.io/packages/flake8-string-format.md","pypi":"https://pypi.org/project/flake8-string-format/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-09","license_spdx":"MIT","license_treatment":"permissive","name":"flake8-string-format","python_support":"supports_current","summary":"string format checker, plugin for flake8"},"popularity":{"monthly_downloads":170838,"position":10385,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.4.0"}
