Optional static typing for Python
http://www.mypy-lang.org/
Add type annotations to your Python programs, and use mypy to type
check them. Mypy is essentially a Python linter on steroids, and it
can catch many programming errors by analyzing your program, without
actually having to run it. Mypy has a powerful type system with
features such as type inference, gradual typing, generics and union
types.
- Developed at devel:languages:python
- Sources inherited from project openSUSE:Factory
-
4
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Backports:SLE-15-SP5:FactoryCandidates/python-mypy && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
mypy-1.10.0.tar.gz | 0003022145 2.88 MB | |
python-mypy-rpmlintrc | 0000000126 126 Bytes | |
python-mypy.changes | 0000115766 113 KB | |
python-mypy.spec | 0000006013 5.87 KB | |
types-psutil-5.9.5.17.tar.gz | 0000014260 13.9 KB | |
types-setuptools-68.2.0.0.tar.gz | 0000032945 32.2 KB |
Latest Revision
Ana Guerrero (anag+factory)
accepted
request 1181211
from
Steve Kowalik (StevenK)
(revision 6)
- Update to 1.10.0: * Support TypeIs (PEP 742) * Support TypeVar Defaults (PEP 696) * Support TypeAliasType (PEP 695) * Detect Additional Unsafe Uses of super() * Fix incorrect inferred type when accessing descriptor on union type * Fix crash when expanding invalid Unpack in a Callable alias * Fix false positive when string formatting with string enum * Narrow individual items when matching a tuple to a sequence pattern * Fix false positive from type variable within TypeGuard or TypeIs * Improve yield from inference for unions of generators * Fix emulating hash method logic in attrs classes * Add reverted typeshed commit that uses ParamSpec for functools.wraps * Fix type narrowing for types.EllipsisType * Fix single item enum match type exhaustion * Improve type inference with empty collections * Fix override checking for decorated property * Fix narrowing on match with function subject - Drop including types-ast, no longer required. - Drop patch workaround-parenthesized-context-managers.patch, now included upstream.
Comments 0