Collection of experimental plugins for MyPy.
Project description
MyPy++
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
Release history Release notifications | RSS feed
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 details)
File details
Details for the file mypypp-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: mypypp-0.1.1-py3-none-any.whl
- Upload date:
- Size: 16.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b05dffea17729eed9eebf8ced5743f76ea81d272d753647f1e5b7d864dc3d86 |
|
MD5 | c78cf9b9fa2d2196d943f1e5791bd8d7 |
|
BLAKE2b-256 | 4853d6879b0de30a7fc8a1fc8e1b707f71526dd5aa1c7a6e17fd21a648bfd06c |