Commit Graph

28 Commits

Author SHA1 Message Date
Eric Traut
cab9f886de Updated "mypy comparison" documentation based on recent improvements in mypy. It's now able to handle higher-order functions. 2024-01-16 00:32:52 -08:00
Eric Traut
a635a725a0 Updated documentation to refer to "value-constrained" TypeVars rather than just "constrained TypeVars", since all TypeVars are constrained in some manner. 2023-12-31 00:19:46 -07:00
Eric Traut
b360d00ada Updated docs based on a recent change in mypy. 2023-10-21 11:42:54 -07:00
Eric Traut
66bf443e1c Updated documentation to reflect recent addition to mypy functionality. 2023-08-28 08:10:28 -07:00
Eric Traut
9cce48b6e3 Updated mypy comparison documentation. This addresses #5818. 2023-08-26 07:45:35 -07:00
Eric Traut
e2cf85f24c Updated mypy comparison to reflect the fact that mypy's support for ParamSpecs now supports overloaded functions. 2023-08-21 11:04:30 -07:00
Eric Traut
3f7c20213d Documented the difference between mypy's and pyright's handling of None return type. 2023-07-30 10:41:23 -06:00
Eric Traut
9fd63fea86 Fixed small typo in documentation. 2023-07-26 21:57:51 -06:00
Eric Traut
a34eb58fc9 Added section on plugins to the comparison with mypy. 2023-07-22 08:25:37 -07:00
Eric Traut
99dfe982a1 Added documentation about overloads and ParamSpec. 2023-07-22 07:23:43 -07:00
Eric Traut
0a67c65bef Clarified in documentation that no_type_check is not supported. 2023-06-30 08:39:10 +02:00
Eric Traut
2de35e3684 Added documentation about higher-order functions. 2023-06-18 00:00:06 -07:00
Eric Traut
8d9910eb89 Added more details about difference between mypy and pyright overload resolution in ambiguous cases. 2023-06-15 16:01:12 -07:00
Eric Traut
6e6c3664b3 Added documentation for pyright's handling of constructor calls and how this differs from mypy. 2023-05-25 18:36:11 -07:00
Erik De Bonte
6e95b76291
Fix broken link in mypy-comparison.md (#5046) 2023-05-01 14:42:54 -07:00
Eric Traut
ff134e6467 Added documentation to mypy comparison that talks about narrowing for captured variables. 2023-04-02 08:34:28 -07:00
Dmitry Volodin
14b0831697
Fix Markdown links (#4849)
* Fixed Markdown links

* Gave main doc page prettier name
2023-03-27 19:48:11 -06:00
Eric Traut
9c6ebad347 Updated mypy comparison to reflect change in mypy's type narrowing capabilities. 2023-03-09 08:21:01 -07:00
Eric Traut
414dce170e Updated documentation for import modeling differences between mypy and pyright. 2023-03-07 10:16:14 -07:00
Eric Traut
08b2cb4698 Did a consistency pass on documentation markdown. 2023-03-06 18:10:33 -07:00
Eric Traut
b3fd962116 Fixed bugs in documentation. 2023-03-06 15:45:51 -07:00
Eric Traut
735c19a1c9 Improved documentation for ... function bodies. 2023-03-06 10:49:54 -07:00
Christian Clauss
bd3ac8b722
Fix typos discovered by codespell (#4399) 2023-01-04 06:54:43 -07:00
Eric Traut
0be873e289 Fixed a couple of typos in the documentation. 2022-12-21 10:47:28 -07:00
Eric Traut
97b6231d13 Added a few more minor improvements to the docs. 2022-12-18 18:40:29 -08:00
Jelle Zijlstra
355361e8b3
fix typos in mypy-comparison (#4354)
* fix typos in mypy-comparison

* fix versions
2022-12-18 18:15:17 -08:00
Eric Traut
e3ddbb3171 Small tweaks to the new documentation based on proofreading pass. 2022-12-18 15:24:59 -08:00
Eric Traut
5a19cb9f0a Added documentation that covers the major behavioral differences between pyright and mypy and the justifications for those differences. 2022-12-18 15:11:11 -08:00