How to Install and Uninstall mypy Package on openSUSE Leap

Last updated: May 19,2024

1. Install "mypy" package

This tutorial shows how to install mypy on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install mypy

2. Uninstall "mypy" package

Please follow the instructions below to uninstall mypy on openSUSE Leap:

$ sudo zypper remove mypy

3. Information about the mypy package on openSUSE Leap

Information for package mypy:
-----------------------------
Repository : Main Repository
Name : mypy
Version : 0.670-bp153.1.19
Arch : noarch
Vendor : openSUSE
Installed Size : 13,4 MiB
Installed : No
Status : not installed
Source package : mypy-0.670-bp153.1.19.src
Summary : Optional static typing for Python
Description :
Mypy is an optional static type checker for Python that aims to
combine the benefits of both dynamic (or "duck") typing as well as
static typing.
Mypy type checks standard Python programs. It can catch many
programming errors by analyzing programs without having to run them.
There is basically no runtime overhead when run using any Python VM.
Mypy's type system features type inference, gradual typing, generics
and union types.