Eric Traut
|
a08f9c6a24
|
Fixed bug where classes declared in a conditional scope were not properly handled.
|
2019-08-16 22:09:39 -07:00 |
|
Eric Traut
|
ec79598701
|
Implemented "Go To Symbol in File..." functionality.
|
2019-08-16 19:59:13 -07:00 |
|
Eric Traut
|
78a7a6ee74
|
Fixed handling of synthesized __init__ method for dataclass type. If a custom __init__ is specified, a synthesized version should not be used.
|
2019-08-16 19:12:18 -07:00 |
|
Eric Traut
|
c28fc95181
|
Fixed bug in type analyzer's handling of async generators.
|
2019-08-14 20:30:02 -07:00 |
|
Eric Traut
|
1e94fd878a
|
Fixed bug that caused breaks within for and while loops to report code as being unreachable even when it wasn't.
|
2019-08-14 18:27:49 -07:00 |
|
Eric Traut
|
f37bc6234f
|
Fixed bug in handling of Type[X] when used as base class in class declaration.
|
2019-08-11 09:30:26 -07:00 |
|
Eric Traut
|
0676aa806d
|
Published 1.0.55
|
2019-08-10 01:11:49 -07:00 |
|
Eric Traut
|
7dc7e4e059
|
Implemented new "reportUnnecessaryIsInstance" check, which reports cases where isinstance is used where it's possible to determine that the result is always true or false.
|
2019-08-10 00:00:18 -07:00 |
|
Eric Traut
|
8cac3dec0c
|
Added logic to differentiate between "may break" and "always breaks" within a scope. Added reporting of unreachable code after an "always breaks" condition is detected within a loop.
|
2019-08-09 22:20:55 -07:00 |
|
Eric Traut
|
8a61caaeb6
|
Fixed handling of "continue" in code flow logic.
|
2019-08-09 21:30:35 -07:00 |
|
Eric Traut
|
e1029d9fc1
|
For import completions, filtered out symbols that have already been imported.
|
2019-08-09 18:54:49 -07:00 |
|
Eric Traut
|
59ab88bdc1
|
Improved responsiveness of VS Code extension.
|
2019-08-09 18:43:07 -07:00 |
|
Eric Traut
|
2ee59a4532
|
Improved completion provider handling of various cases.
|
2019-08-09 18:15:10 -07:00 |
|
Eric Traut
|
d9ca9826d7
|
Fixed TypeVar definition in fallback typeshed 'pathlib.pyi'. It was using a string literal in a TypeVar declaration.
|
2019-08-09 15:14:54 -07:00 |
|
Eric Traut
|
84766dd91d
|
Added support for properties whose type is defined using a generic typevar type.
|
2019-08-09 15:14:05 -07:00 |
|
Eric Traut
|
59571876e6
|
Published 1.0.54
|
2019-08-08 23:20:44 -07:00 |
|
Eric Traut
|
07f472c237
|
Changed sort order of completion suggestions so dunder names are after non-dunder names.
|
2019-08-08 23:18:18 -07:00 |
|
Eric Traut
|
198fbadebf
|
Fixed bug in completion provider that caused members of parent classes not be be included in member completions.
|
2019-08-08 22:52:33 -07:00 |
|
Eric Traut
|
31230e2014
|
Added special-case code for assignments to a module-level "__all__" variable. Symbols referenced by string literals in the RHS expression are marked as accessed.
|
2019-08-08 22:46:24 -07:00 |
|
Eric Traut
|
eadb020432
|
Added code to support base classes that are declared in terms of variables that have a "Type[X]" declared type.
|
2019-08-08 22:24:04 -07:00 |
|
Eric Traut
|
f0b5c03cec
|
Fixed bug in typeConstraint module that resulted in an assertion firing, which in turn resulted in an "internal error" message.
|
2019-08-08 22:03:08 -07:00 |
|
Eric Traut
|
4f23144b13
|
Added support for dictionary expand entries.
|
2019-08-08 21:39:20 -07:00 |
|
Eric Traut
|
4afc62dace
|
Lint fix.
|
2019-08-08 20:15:24 -07:00 |
|
Eric Traut
|
ce185a37db
|
Published 1.0.53
|
2019-08-08 00:58:53 -07:00 |
|
Eric Traut
|
249dfa556d
|
Implemented unit test for NewType.
|
2019-08-08 00:58:39 -07:00 |
|
Eric Traut
|
b7e37f12a9
|
Fixed merge error.
|
2019-08-07 23:38:39 -07:00 |
|
Eric Traut
|
505679038f
|
Implemented NewType type support.
|
2019-08-07 23:36:21 -07:00 |
|
Eric Traut
|
0f56372cd6
|
Fixed bug in type specialization code. It wasn't handling Type[T] in some cases.
|
2019-08-07 22:30:34 -07:00 |
|
Eric Traut
|
28da6658d6
|
Fixed bug in type analyzer. It was incorrectly reporting that "yield" statements were not allowed in async functions. Only "yield from" should be flagged as errors.
|
2019-08-07 21:52:21 -07:00 |
|
Eric Traut
|
2646d96ac4
|
Fixed regression that caused type analyzer to complain if imported symbols were redefined.
|
2019-08-07 21:36:23 -07:00 |
|
Eric Traut
|
6613da6e1f
|
Moved Declaration and DeclarationCategory to its own module to avoid circular dependency.
|
2019-08-07 18:59:35 -07:00 |
|
Eric Traut
|
52cbdd6102
|
Made a bunch of suggested improvements to the completion provider including support for built-in types and selection details.
|
2019-08-07 00:30:20 -07:00 |
|
Eric Traut
|
a7c8b650ae
|
Fixed regression in type analyzer related to declaredType of class. It needs to include the decorator chain.
|
2019-08-07 00:23:43 -07:00 |
|
Eric Traut
|
a83cb6102d
|
Added function documentation support in signature provider.
|
2019-08-07 00:10:36 -07:00 |
|
Eric Traut
|
be6bbf2344
|
Added missing declaration type for classes.
|
2019-08-07 00:10:14 -07:00 |
|
Eric Traut
|
b3772317f3
|
Fixed bug in docstring processing where the entire docstring is on a single line.
|
2019-08-07 00:09:41 -07:00 |
|
Eric Traut
|
41a508d5c5
|
Improved type analyzer in case where class is passed in a context where a function is expected. The analyzer now synthesizes a function that corresponds to the class's constructor and/or init routine.
|
2019-08-05 20:03:57 -07:00 |
|
Eric Traut
|
3b81198a05
|
Published 1.0.52
|
2019-08-04 20:23:54 -07:00 |
|
Eric Traut
|
b4e16e524f
|
Improved type checking for raise and raise/from statements.
|
2019-08-04 19:46:52 -07:00 |
|
Eric Traut
|
ddba51efc5
|
Fixed type analysis of super() call. Analyzer now properly handles zero, one and two-arg forms. It also properly handles cases where the target class has multiple base classes.
|
2019-08-04 17:41:45 -07:00 |
|
Eric Traut
|
1d5475bfcb
|
Added support for new rule: strictParameterNoneValue.
|
2019-08-04 15:18:51 -07:00 |
|
Eric Traut
|
03dfb1e1cb
|
Fixed regression.
|
2019-08-03 23:16:12 -07:00 |
|
Eric Traut
|
925d7f3b43
|
Published 1.0.51.
|
2019-08-03 23:14:53 -07:00 |
|
Eric Traut
|
bf9f25db7d
|
Added wildcard support for include, exclude, ignore and strict paths in config filel.
|
2019-08-03 23:01:47 -07:00 |
|
Eric Traut
|
6f539a2899
|
Moved location of console output "Starting service instance" so it doesn't get output for the command-line tool.
|
2019-08-03 22:56:23 -07:00 |
|
Eric Traut
|
ec87aaea63
|
Fixed small bug in documentation.
|
2019-08-02 20:47:03 -07:00 |
|
Eric Traut
|
85a3eaf63c
|
Added new rule "reportCallInDefaultInitializer" that reports usage of function calls within default value initialization expressions.
|
2019-08-02 16:50:18 -07:00 |
|
Eric Traut
|
7146c5ced6
|
Published 1.0.50
|
2019-07-28 18:18:49 -07:00 |
|
Eric Traut
|
9f2ac94da3
|
Fixed dataclass test.
|
2019-07-28 16:48:46 -07:00 |
|
Eric Traut
|
5b06cb9946
|
Added minimal support for dataclass InitVar.
|
2019-07-28 16:41:20 -07:00 |
|