pylint-quotes
Quote consistency checker for PyLint..
What it is and what it does
pylint-quotes is a Pylint plugin that adds quote-consistency checking to your linting workflow. It enforces a uniform style for string literals, triple-quoted strings, and docstrings across your codebase, flagging violations as Pylint convention messages. The plugin supports configurable quote preferences (single or double) for each category and includes a smart mode to avoid unnecessary escaping.
You load it by passing --load-plugins pylint_quotes when running Pylint. It then scans your code for quote inconsistencies and reports them alongside standard Pylint checks. Configuration is done via a Pylint config file with keys like string-quote, triple-quote, and docstring-quote set to 'single', 'double', or escape-aware variants.
Use it for:
- Enforce a team's chosen quote style (e.g., single quotes for strings, double for docstrings) across a large codebase.
- Catch quote inconsistencies in code review by running pylint-quotes in CI/CD pipelines.
- Standardize docstring quotes to match internal style guides during refactoring.
- Prevent unnecessary string escaping by using the 'avoid-escape' configuration modes.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A Pylint plugin that enforces consistent use of single vs. double quotes and docstring quote styles across Python code.
Yes, if you are actively using Pylint and want automated quote-style enforcement. The low install friction and permissive MIT license make it a straightforward addition. However, exercise caution: the package is dormant (last release 2021-05-25) and may have compatibility gaps with recent Pylint versions—verify it works in your environment before relying on it in production CI/CD.
Install
pylint-quotes on PyPI
pip
pip install pylint-quotesuv
uv add pylint-quotespoetry
poetry add pylint-quotesInstalling pylint-quotes
Before you install
Low install friction with a single runtime dependency on pylint. However, the package is dormant—last release was 2021-05-25, though the repository remains active with a commit as recent as 2024-08-14. No recent maintenance or updates.
License in practice
MIT license is permissive, allowing use in commercial and open-source projects with minimal restrictions beyond attribution.
Quickstart
pip install pylint-quotes
pylint --load-plugins pylint_quotes your_module.py
Requires pylint to be installed and available; the plugin must be explicitly loaded via the --load-plugins flag to function.
Verify before relying
- Whether the plugin remains compatible with recent pylint versions despite dormancy since 2021-05-25.
- Whether configuration options (string-quote, triple-quote, docstring-quote) work as documented in current pylint environments.
- Compatibility with Python versions beyond 3.9, given the latest classifiers list only through 3.9.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.6) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — pylint |
| Maintenance | dormant — 1,907 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 82,627/month — #14,150 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pylint_quotes-0.2.3-py2.py3-none-any.whl
Keywords: pylint, linting, string, quotes
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
flake8-literalA flake8 plugin that enforces consistent…
copyleft · top 15,000 on PyPI
flake8-quotesA flake8 plugin that enforces consistent quote…
permissive · top 5,000 on PyPI
pylint-odooA Pylint plugin that adds Odoo-specific code…
agpl · top 15,000 on PyPI
pylint-flask-sqlalchemyA Pylint plugin that suppresses false-positive…
copyleft · top 15,000 on PyPI
pylint-pydanticA Pylint plugin that extends Pylint's…
copyleft · top 5,000 on PyPI
pylint-per-file-ignoresA pylint plugin that lets you specify which…
permissive · top 15,000 on PyPI
pylint-actionsA Pylint plugin that formats linting output as…
permissive · top 15,000 on PyPI
pylint-djangoA Pylint plugin that improves static analysis…
copyleft · top 5,000 on PyPI
pylint-pytestA Pylint plugin that suppresses false-positive…
permissive · top 15,000 on PyPI
import-linterImport Linter enforces architectural…
permissive · top 5,000 on PyPI