# MyPy++
![GitHub Tag](https://img.shields.io/github/v/tag/bendabir/mypypp?sort=semver&label=version)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mypypp)
![PyPI - Implementation](https://img.shields.io/pypi/implementation/mypypp)
![PyPI - License](https://img.shields.io/pypi/l/mypypp)
![Libraries.io dependency status for latest release](https://img.shields.io/librariesio/release/pypi/mypypp)
![GitHub deployments](https://img.shields.io/github/deployments/bendabir/mypypp/release?label=release)
Collection of experimental plugins for MyPy.
## Installation
First, install the plugins with your favorie package manager (`pip`, `poetry`, etc.).
```python
pip install mypypp
```
## Usage
In your MyPy configuration file, declare the plugins you want to use. For example, within a `pyproject.toml` configuration file :
```toml
[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
```bash
poetry env use python3.8
poetry lock
poetry install --with dev
poetry run pre-commit install
```
### Quality
```bash
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
```
```bash
poetry run python -m pytest --cov=src/mypypp tests # Run all tests
```
### Build
```bash
poetry build -f wheel
```
Raw data
{
"_id": null,
"home_page": "https://github.com/bendabir/mypypp",
"name": "mypypp",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8,<4.0",
"maintainer_email": "",
"keywords": "mypy,mypy-plugin",
"author": "Bendabir",
"author_email": "",
"download_url": "",
"platform": null,
"description": "# MyPy++\n\n![GitHub Tag](https://img.shields.io/github/v/tag/bendabir/mypypp?sort=semver&label=version)\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mypypp)\n![PyPI - Implementation](https://img.shields.io/pypi/implementation/mypypp)\n![PyPI - License](https://img.shields.io/pypi/l/mypypp)\n![Libraries.io dependency status for latest release](https://img.shields.io/librariesio/release/pypi/mypypp)\n![GitHub deployments](https://img.shields.io/github/deployments/bendabir/mypypp/release?label=release)\n\nCollection of experimental plugins for MyPy.\n\n## Installation\n\nFirst, install the plugins with your favorie package manager (`pip`, `poetry`, etc.).\n\n```python\npip install mypypp\n```\n\n## Usage\n\nIn your MyPy configuration file, declare the plugins you want to use. For example, within a `pyproject.toml` configuration file :\n\n```toml\n[tool.mypy]\nplugins = [\"mypypp.deprecated\"]\n```\n\n## Development\n\nThe whole project relies on Poetry for setup. It has been developed with Python 3.8 for backward compatibility.\n\n### Environment\n\n```bash\npoetry env use python3.8\npoetry lock\npoetry install --with dev\npoetry run pre-commit install\n```\n\n### Quality\n\n```bash\npoetry run black . # Format code\npoetry run ruff check --fix --force-exclude . # Lint code\npoetry run mypy --ignore-missing-imports --scripts-are-modules . # Type check code\n```\n\n```bash\npoetry run python -m pytest --cov=src/mypypp tests # Run all tests\n```\n\n### Build\n\n```bash\npoetry build -f wheel\n```\n\n",
"bugtrack_url": null,
"license": "GPL-3.0-or-later",
"summary": "Collection of experimental plugins for MyPy.",
"version": "0.1.1",
"project_urls": {
"Documentation": "https://github.com/Bendabir/mypypp/README.md",
"Homepage": "https://github.com/bendabir/mypypp",
"Repository": "https://github.com/bendabir/mypypp"
},
"split_keywords": [
"mypy",
"mypy-plugin"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4853d6879b0de30a7fc8a1fc8e1b707f71526dd5aa1c7a6e17fd21a648bfd06c",
"md5": "c78cf9b9fa2d2196d943f1e5791bd8d7",
"sha256": "6b05dffea17729eed9eebf8ced5743f76ea81d272d753647f1e5b7d864dc3d86"
},
"downloads": -1,
"filename": "mypypp-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c78cf9b9fa2d2196d943f1e5791bd8d7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8,<4.0",
"size": 16107,
"upload_time": "2024-03-16T17:13:52",
"upload_time_iso_8601": "2024-03-16T17:13:52.451745Z",
"url": "https://files.pythonhosted.org/packages/48/53/d6879b0de30a7fc8a1fc8e1b707f71526dd5aa1c7a6e17fd21a648bfd06c/mypypp-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-16 17:13:52",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "bendabir",
"github_project": "mypypp",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "mypypp"
}