Eric Traut
|
1e55f79e00
|
Fixed bug in type checker where hovering on some expressions before the file is fully checked could cause incorrect errors to be generated. Added bidirectional type inference support for yield statements.
|
2019-11-26 21:45:36 -08:00 |
|
Eric Traut
|
d209eba6ba
|
Fixed spelling errors in some comments.
|
2019-11-26 17:29:54 -08:00 |
|
Eric Traut
|
bd0807e59f
|
Disabled polling in a less-disruptive manner on non-Mac systems.
|
2019-11-26 13:26:58 -08:00 |
|
Eric Traut
|
bc00ff2ca3
|
Disable file system watcher polling on MacOS because it's causing too much instability.
|
2019-11-26 13:24:48 -08:00 |
|
Eric Traut
|
eefd5f3594
|
Added declarations to parameter nodes.
|
2019-11-26 09:12:31 -08:00 |
|
Eric Traut
|
ef09ce71c8
|
Improved error reporting for declaration collisions.
|
2019-11-26 09:12:30 -08:00 |
|
Eric Traut
|
5f424a1d57
|
Removed Method declaration type by adding an isMethod field onto the FunctionDeclaration interface. This simplifies the code in a bunch of places.
|
2019-11-26 09:12:30 -08:00 |
|
Eric Traut
|
52792e8c06
|
Added support for related information in diagnostics.
|
2019-11-26 09:12:30 -08:00 |
|
Eric Traut
|
868d34c33b
|
Merge pull request #367 from cshesse/patch-3
add missing newline in --help output
|
2019-11-26 09:10:25 -08:00 |
|
cshesse
|
709affe702
|
add missing newline in --help output
|
2019-11-26 09:06:24 -08:00 |
|
Eric Traut
|
d4096ab1c9
|
Fixed a couple of bugs relating to type checking of generic protocols.
|
2019-11-26 06:54:18 -08:00 |
|
Eric Traut
|
fec5410b03
|
Merge pull request #365 from cshesse/patch-2
add missing single quote to error message
|
2019-11-26 05:35:44 -08:00 |
|
cshesse
|
215a8463a6
|
add missing single quote to error message
|
2019-11-26 00:36:57 -08:00 |
|
Eric Traut
|
4a581a739a
|
Fixed bug in TypeVar matching logic relating to constrained TypeVars. Added missing unit test for this case.
|
2019-11-25 22:35:32 -08:00 |
|
Eric Traut
|
3de18fb8cf
|
Added hover, definition, reference, and rename support for named arguments.
|
2019-11-25 21:20:51 -08:00 |
|
Eric Traut
|
f7ba301b75
|
Fixed bug in parseTreeWalker - it wasn't return the name node for arguments.
|
2019-11-25 21:20:26 -08:00 |
|
Eric Traut
|
c332a43ef5
|
Reduced maximum analysis time to improve responsiveness in VS Code extension.
|
2019-11-25 21:20:02 -08:00 |
|
Eric Traut
|
9f2b160337
|
Published 1.1.5
|
2019-11-24 17:46:25 -08:00 |
|
Eric Traut
|
1dfe6ebb9d
|
Added some additional logic around file watchers based on VS Code usage of the chokidar library.
|
2019-11-24 17:43:17 -08:00 |
|
Eric Traut
|
d1bb15b2f6
|
Updated dependencies.
|
2019-11-24 17:41:48 -08:00 |
|
Eric Traut
|
be7fbd0ab6
|
Improved parse error reporting for type annotation expressions.
|
2019-11-24 17:04:11 -08:00 |
|
Eric Traut
|
1a6d9b237a
|
Added support for @final decorator for classes and functions.
|
2019-11-24 10:41:28 -08:00 |
|
Eric Traut
|
8d4ae58ae3
|
Fixed regression in handling of typeshedPath.
|
2019-11-24 10:41:28 -08:00 |
|
Eric Traut
|
b7e9002bfd
|
Merge pull request #357 from cshesse/patch-1
type: ignore
|
2019-11-24 09:51:45 -08:00 |
|
cshesse
|
be084b15df
|
type: ignore
|
2019-11-24 09:19:15 -08:00 |
|
Eric Traut
|
3389ca388b
|
Added missing path normalization for typeshedPath setting.
|
2019-11-23 16:04:55 -08:00 |
|
Eric Traut
|
a14ffc0a32
|
Published 1.1.4
|
2019-11-23 12:52:40 -08:00 |
|
Eric Traut
|
cf24a8b960
|
Changed code to allow comma delimiters within namedtuple field definition strings.
|
2019-11-23 12:02:05 -08:00 |
|
Eric Traut
|
8a7a3b757f
|
Revamped how properties are handled. Rather than define a custom "PropertyType" that requires its own handling everywhere, a property is now modeled as regular ObjectType whose associated class type has a special ClassTypeFlag. This eliminates a bunch of edge cases that didn't previously work with properties, including support for custom properties.
|
2019-11-23 11:41:37 -08:00 |
|
Eric Traut
|
d79e43b8e0
|
Changed import logic to better match behavior of python loader. If there's an empty directory and a python file with the same name, the import resolution logic now selects the file rather than failing resolution.
|
2019-11-23 01:34:48 -08:00 |
|
Eric Traut
|
f71e1321bb
|
Added code to switch the working directory to the root of the extension before invoking the python interpreter to query sys.path.
|
2019-11-22 22:24:45 -08:00 |
|
Eric Traut
|
981de2d235
|
Fixed bug where symbols that couldn't be resolved through wildcard imports were resolved as unbound rather than unknown.
|
2019-11-22 22:06:00 -08:00 |
|
Eric Traut
|
6bb0ff5b29
|
Added reentrancy checks for lazy binding callback.
|
2019-11-22 21:14:03 -08:00 |
|
Eric Traut
|
cd93a97931
|
Exposed the useLibraryForTypes setting on the command line through a "--lib" switch.
|
2019-11-22 21:13:22 -08:00 |
|
Eric Traut
|
581869a059
|
Shortened description for "useLibraryCodeForTypes" setting.
|
2019-11-22 21:12:45 -08:00 |
|
Eric Traut
|
00317f0283
|
Sync'ed typeshed stdlib stubs with latest typeshed repo.
|
2019-11-22 20:10:39 -08:00 |
|
Eric Traut
|
00012544c3
|
Fixed out-of-date comment in unit test.
|
2019-11-22 20:10:07 -08:00 |
|
Eric Traut
|
8cee1235d7
|
Fixed recent regression that caused symbols imported through "from X import Y" statement to not be flagged as error if Y was not in X's namespace.
|
2019-11-22 20:04:46 -08:00 |
|
Eric Traut
|
2f86fd81fe
|
Fixed bug in code that performs type matching between class constructor and function type.
|
2019-11-22 19:30:24 -08:00 |
|
Eric Traut
|
28dca7dd4b
|
Updated getTypeVarArgumentsRecursive to handle generic function types.
|
2019-11-22 19:23:00 -08:00 |
|
Eric Traut
|
6f3a0cdf45
|
Fixed bug in document symbol provider to provide correct ranges.
|
2019-11-22 19:22:09 -08:00 |
|
Eric Traut
|
39e4eea2b7
|
Added support for typing.TYPE_CHECKING in static expressions.
|
2019-11-21 23:44:27 -08:00 |
|
Eric Traut
|
10788eb6df
|
Published 1.1.3
|
2019-11-21 20:48:24 -08:00 |
|
Eric Traut
|
aabd392ed5
|
Added support for PEP 561 provision for type stubs that are delivered as a separate package that's named "<pkg-name>-stubs".
|
2019-11-21 20:48:12 -08:00 |
|
Eric Traut
|
6aa3d40916
|
Improved printing of literal types. They're now combined (e.g. "Literal[1, 2]" instead of "Union[Literal[1], Literal[2]]").
|
2019-11-21 20:05:44 -08:00 |
|
Eric Traut
|
ffc956ca72
|
Changed the place where literals are stripped from inferred types to fix a reported bug.
|
2019-11-21 18:40:07 -08:00 |
|
Eric Traut
|
c0b6f99ae7
|
Added new 'outputjson' command-line option that formats output in JSON format.
|
2019-11-21 00:30:44 -08:00 |
|
Eric Traut
|
d096acb5b2
|
Added code to match syntax error detection and scope binding rules defined in PEP 572 for assignment expressions found within list comprehension expressions.
|
2019-11-20 21:39:34 -08:00 |
|
Eric Traut
|
73547f08d1
|
Improved type completion experience when typing a new method. It no longer suggests the partially-typed function name as a suggestion. It also offers to complete the method name and signature if overriding a method from a parent class.
|
2019-11-20 20:02:33 -08:00 |
|
Eric Traut
|
2c182f1986
|
Fixed issue where progress spinner is not immediately hidden when onlyOpenFiles setting is toggled from false to true.
|
2019-11-20 20:00:08 -08:00 |
|