$npx skillfedfor your agent

pylint-pytest

A Pylint plugin to suppress pytest-related false positives.

Worth itPyPI TestingReleased May 2024600.6K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pylint_pytest-1.1.8-py3-none-any.whl
v1.1.8 · released 2024-05-23 · Python >=3.6 · 2 runtime deps: pylint, pytest

Yes. This is a low-friction, actively maintained plugin that solves a real problem: Pylint's inability to understand pytest's fixture injection model. If you run Pylint on pytest test code, this plugin will eliminate noise and catch genuine pytest anti-patterns. No security issues, permissive license, and production-stable.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction install with just two runtime dependencies (pylint and pytest).
  • Actively maintained with a recent commit in 2026 and marked as production-stable.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use this in commercial and proprietary projects with minimal restrictions.

last release 2024-05-23 (813 days) · last repo commit 2026-03-30 · 28 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 600,624 downloads/mo, #5,820 on PyPI

Verify before relying

pip install pylint-pytest

# In .pylintrc:
# [MASTER]
# load-plugins=pylint_pytest

# Or via command line:
# pylint --load-plugins pylint_pytest <path_to_sources>
  • Whether the plugin correctly handles all pytest fixture patterns in real-world test suites
  • Performance impact when analyzing large test codebases with many fixtures
Same gist for agents: .md · .json

What it is and what it does

pylint-pytest is a Pylint plugin designed to make static analysis work better with pytest test code. It solves the problem of Pylint raising false-positive warnings when analyzing pytest fixtures and test functions—for example, flagging fixture parameters as unused arguments even though pytest injects them at runtime. The plugin suppresses four common false positives (unused-argument, unused-import, redefined-outer-name, and no-member) that occur when fixtures are properly used but not referenced in the function body.

Beyond suppression, the plugin also raises four new warnings to catch deprecated or problematic pytest patterns: deprecated-pytest-yield-fixture (for the old @pytest.yield_fixture decorator), useless-pytest-mark-decorator (for @pytest.mark.* on fixtures where it has no effect), deprecated-positional-argument-for-pytest-fixture (for positional arguments to @pytest.fixture), and cannot-enumerate-pytest-fixtures (when the plugin cannot analyze fixtures in a test module). It requires pylint and pytest>=4.6 and is enabled by loading it as a Pylint plugin.

Use it for

  • Suppress false positives in CI/CD pipelines that run Pylint on pytest test suites to maintain a clean lint report.
  • Catch deprecated pytest patterns like @pytest.yield_fixture before they cause issues in newer pytest versions.
  • Analyze fixture-heavy test code without having to disable Pylint rules or add noqa comments throughout.
  • Enforce consistent pytest fixture patterns by raising warnings on useless decorators or positional arguments.
  • Integrate code quality checks into test modules without fighting Pylint's static analysis limitations.

Worth the install?

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

Worth it

Yes.

This is a low-friction, actively maintained plugin that solves a real problem: Pylint's inability to understand pytest's fixture injection model. If you run Pylint on pytest test code, this plugin will eliminate noise and catch genuine pytest anti-patterns. No security issues, permissive license, and production-stable.

Install

pylint-pytest on PyPI

Before you install

Low friction install with just two runtime dependencies (pylint and pytest). Actively maintained with a recent commit in 2026 and marked as production-stable.

License in practice

MIT license is permissive; you can use this in commercial and proprietary projects with minimal restrictions.

Quickstart

pip install pylint-pytest

# In .pylintrc:
# [MASTER]
# load-plugins=pylint_pytest

# Or via command line:
# pylint --load-plugins pylint_pytest <path_to_sources>

Verify before relying

  • Whether the plugin correctly handles all pytest fixture patterns in real-world test suites
  • Performance impact when analyzing large test codebases with many fixtures

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.6
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
pylintpytest
MaintenanceActively maintained 813 days since the last release
Last repo commit
First released
Downloads600,624 / month, #5,820 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTopic :: Software Development :: Quality AssuranceTopic :: Software Development :: Testing

Evidence: pylint_pytest-1.1.8-py3-none-any.whl

Tags

Capabilities
pylint pytest pluginsuppress pylint false positivespytest fixture lintingpylint pytest integrationfixture unused argument warningpytest code quality checkspylint test code analysis
Topics
pytest-integrationlintingcode-quality
PyPI keywords
pylintpytestplugin

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 pytest plugin”

  • pylint-pytestA Pylint plugin that suppresses false-positive warnings when…
  • pytest-pylintIntegrates pylint code analysis into pytest, allowing you to run…
  • pytest-onlyA pytest plugin that runs only tests marked with @pytest.mark.only,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Testing packages

pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo
virtualenv Worth it
PyPI · Libraries · released Aug 2026

virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.

MITpure Python · 3.9+
532.9Mdownloads / mo
coverage Worth it
PyPI · Testing · released Aug 2026

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.

permissive licensepure Python · 3.10+
335.8Mdownloads / mo
pytest-asyncio Worth it
PyPI · Testing · released May 2026

pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.

Install it if you write tests for any asyncio-based code.

Apache-2.0pure Python · 3.10+
275.9Mdownloads / mo
pytest-json-ctrf Worth it
PyPI · Testing · released Jul 2026

A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.

Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.

MITpure Python · 3.8+
273.0Mdownloads / mo

See also pylint-django · pylint-flask-sqlalchemy · pylint-per-file-ignores · pylint-odoo · pylint-pydantic · pylint-celery · pytest-unused-fixtures · pytest-pylint · flake8-pytest-style · pylint-flask