Skip to main content

teo-pytest-config-shared

Shared pytest and coverage configuration for teo-garcia Python templates

License: MIT PyPI Python

Part of the @teo-garcia/templates ecosystem


Settings

Setting Value
asyncio_mode auto
testpaths tests
strict_markers true
coverage omit tests/*
coverage fail_under 80

Requirements

  • Python 3.12+
  • pytest 9.0+
  • pytest-cov 6.0+

Usage

Install as a dev dependency:

uv add --dev teo-pytest-config-shared

Get the path to the installed config file:

uv run teo-pytest-config-path

pytest does not support config inheritance natively. The recommended pattern is to copy the canonical settings into your pyproject.toml and extend them:

[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
strict_markers = true
markers = ["e2e: end-to-end tests requiring live services"]

[tool.coverage.run]
source = ["app"]
omit = ["tests/*"]

[tool.coverage.report]
show_missing = true
fail_under = 80

Coverage settings belong in pyproject.toml, .coveragerc, setup.cfg, or tox.ini; the exported pytest.ini intentionally contains only pytest-native options. Use teo-pytest-config-path to inspect the canonical pytest baseline whenever you update your project config.


Package Description
teo-ruff-config-shared Ruff lint and format settings
teo-mypy-config-shared mypy type-checking settings

License

MIT


Built by teo-garcia

Metadata

Release files for teo-pytest-config-shared 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for teo-pytest-config-shared 0.2.0
File Size Uploaded Provenance Actions
teo_pytest_config_shared-0.2.0.tar.gz 19.1 kB With provenance Details for teo_pytest_config_shared-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for teo-pytest-config-shared 0.2.0
File Interpreter ABI Platform Actions
teo_pytest_config_shared-0.2.0-py3-none-any.whl Python 3 none any Details for teo_pytest_config_shared-0.2.0-py3-none-any.whl

Total release size: 22.7 kB

Release files / teo_pytest_config_shared-0.2.0.tar.gz

Download URL teo_pytest_config_shared-0.2.0.tar.gz
Size 19.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c71f03f4dc86919977394eed9878d3c60b503aa365032c0418482db3ac27b744
BLAKE2b-256 checksum
How to use checksums
ff39f6e032e572768c2d20f39af7fff6207029393df15b6d49562fd62169bc18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Release files / teo_pytest_config_shared-0.2.0-py3-none-any.whl

Download URL teo_pytest_config_shared-0.2.0-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
21585f4b8bff3a0a0f794394f051ee484ddc9922f7fbef2ec01264be85b0ca6e
BLAKE2b-256 checksum
How to use checksums
ac09ed2edc9bac57617116f4b277e29255b528375ae48eef28617e26af92a974
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Security for teo-pytest-config-shared 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for teo_pytest_config_shared-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page