Optional static typing for Python

Edit Package python-mypy
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.

Refresh
Refresh
Source Files
Filename Size Changed
mypy-1.8.0.tar.gz 0002990299 2.85 MB
python-mypy-rpmlintrc 0000000126 126 Bytes
python-mypy.changes 0000108217 106 KB
python-mypy.spec 0000006485 6.33 KB
types-psutil-5.9.5.16.tar.gz 0000014060 13.7 KB
types-setuptools-68.1.0.0.tar.gz 0000032689 31.9 KB
types-typed-ast-1.5.8.7.tar.gz 0000005581 5.45 KB
Revision 2 (latest revision is 5)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1136250 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 2)
- update to 1.8.0:
  * https://mypy-lang.blogspot.com/2023/12/mypy-18-released.html
  * https://mypy-lang.blogspot.com/2023/11/mypy-17-released.html
  * https://mypy-lang.blogspot.com/2023/10/mypy-16-released.html
- fix dependencies

  - Support better __post_init__ method signature for dataclasses (Nikita Sobolev, PR 15503)
  - Don't explicitly assign NULL values in setup functions (Logan Hunt, PR 15379)
  - Fix crash on non-str docstring (Ali Hamdan, PR 15623)
  - Remove confusing instance variable example in cheat sheet (Adel Atallah, PR 15441)
  - Check for abstract class objects in tuples (Nikita Sobolev, PR 15366)
  - Fix frozen behavior for base classes with direct metaclasses (Wesley Collin Wright, PR 14878)
   - Fixes to float to int conversion (Jukka Lehtosalo, PR 14936)
  - Faster classmethod calls via cls (Jukka Lehtosalo, PR 14789)
  - Fix crash on ParamSpec in incremental mode (Ivan Levkivskyi, PR 14885)
  - Improve documentation of top level mypy: disable-error-code comment (Nikita Sobolev, PR 14810)
  - Add suggestions for pandas-stubs and lxml-stubs (Shantanu, PR 14737)
  - Honor NoReturn as __setitem__ return type to mark unreachable code (sterliakov, PR 12572)
- Sadly, six is still required for tests, re-add to BuildRequires.
  The full release notes can be found here:
  - Fix types of inherited attributes in generic dataclasses (Jukka Lehtosalo, PR 12656)
- add missing g++ compiler for tests
Comments 0
openSUSE Build Service is sponsored by