Skip to content

Published 1.0.55

Compare
Choose a tag to compare
@erictraut erictraut released this 10 Aug 08:15

New Feature: Added 'reportUnnecessaryIsInstance' switch. When enabled, the type checker reports any cases where isinstance() is used and the result is provably always true or false. At best, these represent unnecessary runtime overhead and more commonly represent bugs.
Enhancement: Made a bunch of suggested improvements to the type completion provider in the VS Code extension.
Enhancement: Improved responsiveness of VS Code extension, especially when files are being analyzed in the background.
Enhancement: Added unreachable code reporting after 'break' statements.
Bug Fix: Improved type constraint logic when the 'continue' keyword is used within a loop.
Bug Fix: Added support for properties whose type is defined using a generic TypeVar type.