Skip to main content

Collection of experimental plugins for MyPy.

Project description

MyPy++

GitHub Tag PyPI - Python Version PyPI - Implementation PyPI - License Libraries.io dependency status for latest release GitHub deployments

Collection of experimental plugins for MyPy.

Installation

First, install the plugins with your favorie package manager (pip, poetry, etc.).

pip install mypypp

Usage

In your MyPy configuration file, declare the plugins you want to use. For example, within a pyproject.toml configuration file :

[tool.mypy]
plugins = ["mypypp.deprecated"]

Development

The whole project relies on Poetry for setup. It has been developed with Python 3.8 for backward compatibility.

Environment

poetry env use python3.8
poetry lock
poetry install --with dev
poetry run pre-commit install

Quality

poetry run black . # Format code
poetry run ruff check --fix --force-exclude . # Lint code
poetry run mypy --ignore-missing-imports --scripts-are-modules . # Type check code
poetry run python -m pytest --cov=src/mypypp tests # Run all tests

Build

poetry build -f wheel

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

mypypp-0.1.1-py3-none-any.whl (16.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page