skillfed

pylint-quotes

Quote consistency checker for PyLint..

pylint-quotes v0.2.3 82.6K downloads/30d#14,150 on PyPI43
Permissive license MIT DORMANT released

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-quotes

uv

uv add pylint-quotes

poetry

poetry add pylint-quotes

Installing 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

Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software DevelopmentTopic :: Utilities

Tags

pylint quote consistency checkerenforce string quote styledocstring quote linterpython quote standardizationpylint plugin quotesstring quote validationdocstring quote enforcement
lintingcode-stylepylint-plugin

More Software Development packages