Граф коммитов

8055 Коммитов

Автор SHA1 Сообщение Дата
Dan Taylor (VS) 04c29f3c5c Updating wording 2019-04-08 12:06:18 -07:00
Eric Traut e320629cd5 Fixed bug in namedtuple synthesized constructor type. 2019-04-08 10:58:07 -07:00
Eric Traut 13fd81b8b3 Improved tuple tests. 2019-04-08 10:57:45 -07:00
Eric Traut 62da3a4d28 Minor improvement in type error reporting. 2019-04-08 10:57:34 -07:00
Eric Traut e751cdfd56 Removed special TupleType in favor of regular ClassType to represent tuples. This simplifies the code and eliminates a bunch of edge cases that were not previously implemented.
Added code for validating that ExceptionTypes derive from BaseException.
2019-04-08 10:05:56 -07:00
Dan Taylor (VS) 5b3db5dbe0 Add link to Python extension in VS Code section 2019-04-08 09:58:35 -07:00
Dan Taylor (VS) 18b11d36ff Suggestions for readme 2019-04-08 09:48:57 -07:00
Eric Traut 7246595b10 Improved hover provider by offering hover information for named entities that have no declaration. 2019-04-07 22:21:35 -07:00
Eric Traut f2b8416190 Removed some obsolete TODO comments. 2019-04-06 23:08:46 -07:00
Eric Traut 4a6123d015 Tweaked documentation. 2019-04-06 15:07:20 -07:00
Eric Traut 1a77f86a3f Updated install and update instructions. 2019-04-06 14:57:26 -07:00
Eric Traut 17a7550f11 Published 1.0.9. 2019-04-06 14:33:08 -07:00
Eric Traut ca299d8dac Removed the need to specify files or a project for the command-line tool. Now "pyright" with no parameters will look for a config file in the working directory. 2019-04-06 14:14:54 -07:00
Eric Traut 9d8d6986e0 Improved type checker so it is able to specialize constructors based on __init__ parameters. 2019-04-06 14:10:28 -07:00
Eric Traut 692ec961f2 Improved console messages for command-line. 2019-04-06 14:09:18 -07:00
Eric Traut 56fa8040c5 Fixed bug in resolution of relative imports. 2019-04-06 10:39:50 -07:00
Eric Traut 8f294edeb7 Fixed handling of "from . import XXX" pattern. 2019-04-06 02:58:40 -07:00
Eric Traut c9124779c6 Added support for "Type" special type annotation. 2019-04-06 02:29:56 -07:00
Eric Traut 9db1232c5c Fixed various bugs found during manual testing of recent changes. 2019-04-06 02:05:02 -07:00
Eric Traut e48aa510b3 Additional progress toward resolving function decorators. 2019-04-05 21:58:30 -07:00
Eric Traut 645441f849 Added support for expanding workspaceFolder variable used in VS Code settings. 2019-04-05 12:32:56 -07:00
Eric Traut cb860ed56f Added new "reportUntypedFunctionDecorator" setting to control whether untyped function decorators are reported. 2019-04-05 09:47:37 -07:00
Eric Traut a471bed1f1 Added code to specialize parameter and return types when analyzing a function. 2019-04-05 09:46:31 -07:00
Eric Traut 25a3b5b3a1 More improvements to markdown formatting. 2019-04-04 23:05:17 -07:00
Eric Traut 5af185c606 Improved formatting of exit codes table. 2019-04-04 23:04:01 -07:00
Eric Traut 017ba3537f Fixed a few regressions introduced with recent decorator processing logic. 2019-04-04 23:01:43 -07:00
Eric Traut 3ddfe52302 Fixed (and documented) exit codes for command-line app.
Added --timing flag to conditionally report detailed timing stats.
2019-04-04 22:35:53 -07:00
Eric Traut fefced9bf1 Added code to semantic analyzer to report "naked" raise outside of except clause. 2019-04-04 22:07:42 -07:00
Eric Traut 9c38d9fad4 Removed obsolete -P command-line parameter. 2019-04-04 21:52:10 -07:00
Eric Traut 8560042da7 Fixed a bunch of bugs relating to Tuple handling. Wrote test cases for tuples. 2019-04-04 21:51:36 -07:00
Eric Traut 5cc95319d6 Fixed a couple of bugs in the handling of tuples. 2019-04-04 01:17:16 -07:00
Eric Traut a12a243d34 Fixed a bug in the type constraint engine. 2019-04-04 00:52:39 -07:00
Eric Traut 63ac86ce70 Started to add proper support for function decorators. 2019-04-04 00:52:39 -07:00
Eric Traut 48b4b6ca5b
Merge pull request #48 from upaver20/master
fix typo.
2019-04-03 08:46:48 -07:00
upa.ver.2.0 0c8db5709a
fix typo. 2019-04-03 22:22:58 +09:00
Eric Traut 861bff1d76 Implemented test cases for execution path analysis. 2019-04-02 20:53:53 -07:00
Eric Traut a383751add Added proper type analysis support for while/else statements. Also added logic for dealing with while True (or equivalents). 2019-04-02 20:45:06 -07:00
Eric Traut 191de6acd3 Added activation event so pyright extension is activated on VS Code launch if a pyrightconfig.json file is present. 2019-04-02 13:42:46 -07:00
Eric Traut d54693668a Added truthy and falsy flag to bool class if it comes from True or False. 2019-04-02 00:05:09 -07:00
Eric Traut 5bff6654fa Added comments to program.ts. 2019-04-02 00:04:45 -07:00
Eric Traut b938498bb8 Moved code structure section from main README to internals documentation. 2019-04-01 19:46:51 -07:00
Eric Traut 1808221aba Published 1.0.8 2019-04-01 19:27:53 -07:00
Eric Traut 9d66bc4538 Updated README TODO list. 2019-04-01 19:26:06 -07:00
Eric Traut 60b836ff5b Added detection for non-quoted forward references of types within regular source files (as opposed to stub files, which support forward references). 2019-04-01 18:25:14 -07:00
Eric Traut 329ad74b2f Added missing support for matrix multiply operator. 2019-04-01 17:48:27 -07:00
Eric Traut 38feba9610 Fixed specialization of special types like Dict. We need to synthesize type arguments if they are not provided. 2019-04-01 17:32:26 -07:00
Eric Traut b81685048c Removed duplicate reporting of undefined variables. 2019-04-01 17:31:55 -07:00
Eric Traut b25f52c0bc Fixed a regression introduced in previous check-in. Also improved a few error messages. 2019-04-01 15:37:14 -07:00
Eric Traut fb1fe3e796 Added DiagnosticAddendum to provide additional information in some diagnostic output. 2019-04-01 15:17:39 -07:00
Eric Traut 407da5ac61 Added test cases for lambdas and function type matching. Fixed several bugs they found. 2019-04-01 10:30:26 -07:00