pkgsrc/lang/py-mypy_extensions
adam 508bdc719c py-mypy py-mypy_extensions: updated to 1.0.0
Mypy 1.0 Released

Now that mypy reached 1.0, we’ll switch to a new versioning scheme. Mypy version numbers will be of form x.y.z.

Mypy 1.0 is up to 40% faster than mypy 0.991 when type checking the Dropbox internal codebase. We also set up a daily job to measure the performance of the most recent development version of mypy to make it easier to track changes in performance.

Mypy will now generate an error if you use a variable before it’s defined. This feature is enabled by default. By default mypy reports an error when it infers that a variable is always undefined.

A new experimental possibly-undefined error code is now available that will detect variables that may be undefined.

There is now a simpler syntax for declaring generic self types introduced in PEP 673: the Self type. You no longer have to define a type variable to use “self types”, and you can use them with attributes.
2023-02-14 19:09:59 +00:00
..
DESCR
Makefile py-mypy py-mypy_extensions: updated to 1.0.0 2023-02-14 19:09:59 +00:00
PLIST py-mypy py-mypy_extensions: updated to 1.0.0 2023-02-14 19:09:59 +00:00
distinfo py-mypy py-mypy_extensions: updated to 1.0.0 2023-02-14 19:09:59 +00:00