Skip to main content

teo-mypy-config-shared

Shared mypy configuration for strict Python type checking

License: MIT PyPI Python

Part of the @teo-garcia/templates ecosystem


Settings

Setting Value
Target Python 3.12
Mode strict

Requirements

  • Python 3.12+
  • mypy 1.14+

Usage

Install as a dev dependency:

uv add --dev teo-mypy-config-shared

Get the path to the installed config file:

uv run teo-mypy-config-path

Use the exported config directly when you want the shared baseline without project-specific overrides:

uv run mypy --config-file "$(uv run teo-mypy-config-path)" .

For projects that need plugins or module overrides, copy the baseline into the project's own config and add local settings there. mypy does not merge multiple config files, so this package intentionally does not document an inheritance contract.

[tool.mypy]
python_version = "3.12"
strict = true
plugins = ["pydantic.mypy"]

[[tool.mypy.overrides]]
module = ["redis.*"]
ignore_missing_imports = true

Equivalent mypy.ini syntax:

[mypy]
python_version = 3.12
strict = true
plugins = pydantic.mypy

[mypy-redis.*]
ignore_missing_imports = true

Package Description
teo-ruff-config-shared Ruff lint and format settings
teo-pytest-config-shared pytest and coverage settings

License

MIT


Built by teo-garcia

Metadata

Release files for teo-mypy-config-shared 0.1.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-mypy-config-shared 0.1.0
File Size Uploaded Provenance Actions
teo_mypy_config_shared-0.1.0.tar.gz 16.1 kB With provenance Details for teo_mypy_config_shared-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 19.7 kB

Release files / teo_mypy_config_shared-0.1.0.tar.gz

Download URL teo_mypy_config_shared-0.1.0.tar.gz
Size 16.1 kB
Tags Source
SHA-256 checksum
How to use checksums
384eafe377f040f99b19ec1a031973fc8366852381df41178d259d9de1ead30c
BLAKE2b-256 checksum
How to use checksums
fa4dd1c95d9b24f25f2a36bacee9ac34c29d3b27b1104a335bdf5ab746d07f2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 7, 2026.

Transparency log

Release files / teo_mypy_config_shared-0.1.0-py3-none-any.whl

Download URL teo_mypy_config_shared-0.1.0-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0e664c410d0e01cab33180a5fe4baf19e53387710a301d2d34cf9727b9141c52
BLAKE2b-256 checksum
How to use checksums
6dd3fde18b8d3f2209dad252a99d905e74f8a019db88660bc651ebfc8fcc37d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 7, 2026.

Transparency log

Security for teo-mypy-config-shared 0.1.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_mypy_config_shared-0.1.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 May 7, 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.1.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