$npx skillfedfor your agent

covdefaults

A coverage plugin to provide sensible default settings

With conditionsPyPI Quality AssuranceReleased Mar 2023616.7K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — covdefaults-2.3.0-py2.py3-none-any.whl
v2.3.0 · released 2023-03-05 · Python >=3.7 · 1 runtime deps: coverage

Yes, if you want strict, opinionated coverage defaults with minimal setup. The plugin is actively maintained, has no known vulnerabilities, and low install friction. It's most valuable for projects that already target 100% coverage or want to enforce it; teams preferring lower thresholds or highly custom exclusion rules may find the defaults constraining and should verify they can override them to your satisfaction.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires coverage to be installed and configured; the plugin only applies defaults when coverage is invoked.
  • Low friction: pure Python wheel with a single runtime dependency on coverage.
  • Actively maintained as of 2026-07-15 with 87 repository stars.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; you must retain the license notice in distributions.

last release 2023-03-05 (1258 days) · last repo commit 2026-07-15 · 87 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 616,728 downloads/mo, #5,740 on PyPI

Verify before relying

pip install covdefaults

Then add to .coveragerc, setup.cfg, or pyproject.toml:
[coverage:run]
plugins = covdefaults

The plugin activates automatically when coverage runs.
  • Whether the plugin's default fail_under = 100 threshold is appropriate for typical project workflows.
  • How the plugin interacts with existing coverage configuration when both defaults and user settings overlap.
  • Performance impact when processing platform and version-specific pragma tags on large codebases.
Same gist for agents: .md · .json

What it is and what it does

covdefaults is a plugin for the coverage tool that injects a curated set of default coverage settings so you don't have to configure them manually. When activated, it sets branch tracking on, establishes a 100% coverage threshold, and pre-defines exclusion rules for common non-testable patterns like `if __name__ == '__main__'`, type-checking blocks, and platform-specific code paths.

The plugin also generates automatic pragma tags based on your runtime environment—marking code as excluded if it targets a different platform (Windows vs. Linux) or Python version than the one running tests. You can override or extend any of these defaults in your own coverage configuration; the plugin respects manually set values and allows you to add or subtract from its omit and exclude lists.

Use it for

  • Enforce 100% branch coverage across a project without manually configuring coverage thresholds and exclusion patterns.
  • Automatically exclude platform-specific code branches (Windows vs. POSIX, CPython vs. PyPy) from coverage reports.
  • Skip version-gated code (e.g., Python 3.9+ features) from coverage when testing on older Python versions.
  • Reduce boilerplate in .coveragerc by inheriting sensible defaults for show_missing, skip_covered, and exclude_lines.
  • Maintain consistent coverage settings across multiple projects by relying on a shared plugin rather than duplicating configuration.

Worth the install?

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

With conditions

Yes, if you want strict, opinionated coverage defaults with minimal setup.

The plugin is actively maintained, has no known vulnerabilities, and low install friction. It's most valuable for projects that already target 100% coverage or want to enforce it; teams preferring lower thresholds or highly custom exclusion rules may find the defaults constraining and should verify they can override them to your satisfaction.

Install

covdefaults on PyPI

Before you install

Low friction: pure Python wheel with a single runtime dependency on coverage. Actively maintained as of 2026-07-15 with 87 repository stars.

Requires coverage to be installed and configured; the plugin only applies defaults when coverage is invoked.

License in practice

MIT license permits commercial and private use with minimal restrictions; you must retain the license notice in distributions.

Quickstart

pip install covdefaults

Then add to .coveragerc, setup.cfg, or pyproject.toml:
[coverage:run]
plugins = covdefaults

The plugin activates automatically when coverage runs.

Verify before relying

  • Whether the plugin's default fail_under = 100 threshold is appropriate for typical project workflows.
  • How the plugin interacts with existing coverage configuration when both defaults and user settings overlap.
  • Performance impact when processing platform and version-specific pragma tags on large codebases.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.7
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
coverage
MaintenanceActively maintained 1,258 days since the last release
Last repo commit
First released
Downloads616,728 / month, #5,740 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy

Evidence: covdefaults-2.3.0-py2.py3-none-any.whl

Tags

Capabilities
coverage plugin defaultscode coverage configurationcoverage settings automationbranch coverage trackingcoverage threshold enforcementplatform-specific coverage exclusionscoverage report configuration
Topics
coverage-plugintesting-automation

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 › “coverage plugin defaults”

  • covdefaultsA coverage plugin that automatically applies sensible default…
  • cov-corecov-core provides the internal plugin infrastructure for coverage…
  • nosexcoverGenerates Cobertura-style XML coverage reports as a plugin for the…

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

More Quality Assurance packages

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
ruff Worth it
PyPI · Python Modules · released Aug 2026

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.

MITcompiled wheel · 3.7+
316.1Mdownloads / mo
pexpect With conditions
PyPI · Software Development · released Nov 2023

Pexpect spawns and controls interactive console applications by sending input and matching output patterns, automating tasks that would otherwise require manual interaction.

ISCpure Pythonaging
200.8Mdownloads / mo
black Worth it
PyPI · Python Modules · released May 2026

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.

MITpure Python · 3.10+
179.9Mdownloads / mo
pytest-xdist Worth it
PyPI · Utilities · released Jul 2025

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.

MITpure Python · 3.9+
177.1Mdownloads / mo
cfn-lint Worth it
PyPI · Quality Assurance · released Aug 2026

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.

MIT-0pure Python
114.9Mdownloads / mo

See also coverage-conditional-plugin · coverage_enable_subprocess · pytest-cover · slipcover · pytest-cov · django-coverage-plugin · coverage-badge · interrogate · mutmut · coverage-threshold