pylint-per-file-ignores
A pylint plugin to ignore error codes per file.
Decision gist · record as of 2026-08-14
Yes. If you use pylint and need fine-grained control over which files are subject to which rules, this plugin solves that cleanly without inline comments or project-wide compromises. Low install friction, active maintenance, no vulnerabilities, and MIT licensing make it a straightforward addition to any pylint setup.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires pylint to be installed; glob patterns (not regex) are used for matching since v2.0.0.
- Low friction: pure Python wheel with only pylint as a runtime dependency.
- Actively maintained with a recent release (133 days ago) and current Python version support (3.10–3.14).
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this plugin freely with minimal restrictions.
last release 2026-04-03 (133 days) · last repo commit 2026-08-13 · 5 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 692,175 downloads/mo, #5,322 on PyPI
Alternatives
Verify before relying
pip install pylint-per-file-ignores
# Add to .pylintrc [MAIN] section:
# load-plugins = pylint_per_file_ignores
# Then in [MESSAGES CONTROL]:
# per-file-ignores =
# /folder_1/*:missing-function-docstring,W0621
# file.py:C0116,E0001- Whether the plugin works with all current pylint versions or has known incompatibilities.
- Performance impact when applying per-file ignores to large codebases with many rules.
What it is and what it does
This is a pylint plugin that extends pylint's configuration system to support per-file and per-directory error suppression. Instead of applying ignore rules project-wide or using inline comments, you define patterns and error codes in your pylint config file (.pylintrc, setup.cfg, or pyproject.toml), and the plugin matches files using glob patterns to selectively disable specific checks. This is useful when you want stricter linting in some parts of your codebase but need to relax certain rules in others—for example, allowing missing docstrings in test files or generated code while enforcing them elsewhere.
The plugin is straightforward to integrate: load it in your pylint configuration, then add a `per-file-ignores` section listing glob patterns paired with comma-separated error codes. The plugin intercepts pylint's message filtering and applies your per-file rules automatically. It's actively maintained, supports modern Python versions (3.10–3.14), and carries no external dependencies beyond pylint itself.
Use it for
- Relax docstring requirements in test files or example directories while enforcing them in production code.
- Suppress specific warnings in auto-generated or third-party code folders without modifying those files.
- Apply stricter linting rules to core modules while allowing more lenient checks in utilities or scripts.
- Gradually migrate a codebase to stricter pylint rules by exempting specific files or directories during transition.
- Configure different error thresholds for different project components (e.g., strict for libraries, relaxed for CLI tools).
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
If you use pylint and need fine-grained control over which files are subject to which rules, this plugin solves that cleanly without inline comments or project-wide compromises. Low install friction, active maintenance, no vulnerabilities, and MIT licensing make it a straightforward addition to any pylint setup.
Install
pylint-per-file-ignores on PyPI
Before you install
Low friction: pure Python wheel with only pylint as a runtime dependency. Actively maintained with a recent release (133 days ago) and current Python version support (3.10–3.14).
Requires pylint to be installed; glob patterns (not regex) are used for matching since v2.0.0.
License in practice
MIT license is permissive; you can use, modify, and distribute this plugin freely with minimal restrictions.
Quickstart
pip install pylint-per-file-ignores
# Add to .pylintrc [MAIN] section:
# load-plugins = pylint_per_file_ignores
# Then in [MESSAGES CONTROL]:
# per-file-ignores =
# /folder_1/*:missing-function-docstring,W0621
# file.py:C0116,E0001
Verify before relying
- Whether the plugin works with all current pylint versions or has known incompatibilities.
- Performance impact when applying per-file ignores to large codebases with many rules.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release <4,>=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagepylint |
| Maintenance | Actively maintained 133 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 692,175 / month, #5,322 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: PluginsIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming 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 :: Quality AssuranceTyping :: Typed |
Evidence: pylint_per_file_ignores-3.2.1-py3-none-any.whl
Tags
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 › “pylint per-file ignores”
- pylint-per-file-ignoresA pylint plugin that lets you specify which error codes to ignore on…
- pylamaPylama is a code audit tool that wraps multiple Python linters…
- pylint-plugin-utilsProvides utilities and helper functions for building Pylint plugins,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Quality Assurance packages
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
Ruff is a Python linter and code formatter written in Rust that combines linting, formatting, and code fixing into a single tool, replacing Flake8, Black, isort, and related utilities.
Pexpect spawns and controls interactive console applications by sending input and matching output patterns, automating tasks that would otherwise require manual interaction.
Black reformats Python source code to a consistent style by parsing entire files and rewriting them according to an opinionated, deterministic set of rules, eliminating manual formatting decisions.
pytest-xdist distributes pytest tests across multiple CPU cores or machines to speed up test execution, with the simplest usage being `pytest -n auto` to spawn workers equal to available CPUs.
Install it if your test suite takes long enough that parallelization would save meaningful time.
Validates AWS CloudFormation templates in YAML or JSON format against resource provider schemas and best practices, checking property values and configuration correctness.
Install it if you work with CloudFormation templates.
See also pylint-pytest · pytest-pylint · pylint-protobuf · pylint-exit · pylint-quotes · pylint-pydantic · pytest-ignore-test-results · pylint-odoo · pylint-django · pylint-actions