Eric Traut
|
747d891cce
|
Published 1.1.1
|
2019-11-17 22:17:54 -08:00 |
|
Eric Traut
|
2dcd452d0e
|
Fixed regression where unresolved import symbols were flagged as "unbound" rather than being given unknown types.
|
2019-11-17 21:09:02 -08:00 |
|
Eric Traut
|
bb68ebb921
|
Removed CancelToken and its use in parser. It's not used, so it's just overhead.
|
2019-11-17 20:51:04 -08:00 |
|
Eric Traut
|
4513e4b795
|
Minor code cleanup. Replaced some trivial accessor methods with readonly variables for performance.
|
2019-11-17 19:49:48 -08:00 |
|
Eric Traut
|
699ea88df5
|
Fixed several recent regressions relating to onlyOpenFiles setting.
|
2019-11-17 19:15:39 -08:00 |
|
Eric Traut
|
586b866a2b
|
Reworked abstract class checks for use in lazy evaluation world.
|
2019-11-17 19:14:51 -08:00 |
|
Eric Traut
|
4e559d327a
|
Added config feature "reportAssertAlwaysTrue". It flags errant assert statements.
|
2019-11-17 18:02:46 -08:00 |
|
Eric Traut
|
49fec491da
|
Implemented an optimization that allows skipping of code flow analysis for expressions that were not identified as needing code flow analysis at binding time.
|
2019-11-17 12:37:07 -08:00 |
|
Eric Traut
|
9aa21006e4
|
Merge pull request #339 from mesaugat/patch-1
Update getting-started.md
|
2019-11-17 10:32:15 -08:00 |
|
Saugat Acharya
|
8a9479552d
|
Update getting-started.md
- Remove double quotes before comment
- Highlight `pyrightconfig.json`
|
2019-11-17 19:01:04 +05:45 |
|
Eric Traut
|
62517041f8
|
Published 1.1.0
|
2019-11-17 00:37:44 -08:00 |
|
Eric Traut
|
704ccd348d
|
Small code cleanup.
|
2019-11-17 00:25:53 -08:00 |
|
Eric Traut
|
16df910504
|
Fixed a few crashing bugs where language services were calling into evaluator for unreachable code.
|
2019-11-16 23:48:32 -08:00 |
|
Eric Traut
|
69980ab8dd
|
Fixed crashing bug in type stub writer.
|
2019-11-16 23:17:08 -08:00 |
|
Eric Traut
|
940acae881
|
Simplified NameNode, NumberNode and ConstantNode for efficiency.
|
2019-11-16 22:35:05 -08:00 |
|
Eric Traut
|
d8217d4086
|
Fixed cycle detection. Fixed bug in time reporting due to lazy parsing and binding.
|
2019-11-16 22:14:21 -08:00 |
|
Eric Traut
|
36a63adc1e
|
Fixed regression in referenceProvider.
|
2019-11-16 21:28:20 -08:00 |
|
Eric Traut
|
9ef5920b31
|
Fixed regressions caught by unit tests.
|
2019-11-16 21:12:35 -08:00 |
|
Eric Traut
|
30fad091e9
|
Fixed bugs in code flow engine.
|
2019-11-16 20:41:06 -08:00 |
|
Eric Traut
|
6b4bc5e8bf
|
Disable third-party library analysis for now.
|
2019-11-16 17:09:28 -08:00 |
|
Eric Traut
|
c38a59cf09
|
Optimized type caching.
|
2019-11-16 17:05:01 -08:00 |
|
Eric Traut
|
35761a360f
|
Reduced time delay before checks from 1.5 sec to 1.0 sec.
|
2019-11-16 16:42:58 -08:00 |
|
Eric Traut
|
bf2003ad17
|
Simplified function recursion check.
|
2019-11-16 16:42:40 -08:00 |
|
Eric Traut
|
31b6116650
|
Added SpeculativeType to flow cache.
|
2019-11-16 16:35:12 -08:00 |
|
Eric Traut
|
d699ef0a5b
|
Renamed getFlowType for clarity.
|
2019-11-16 16:02:33 -08:00 |
|
Eric Traut
|
819abd2a49
|
Cleated a lighter-weight (but less complete) way to evaluate isCallNoReturn.
|
2019-11-16 14:44:00 -08:00 |
|
Eric Traut
|
f97b216d7d
|
Moved exception type validation out of type evaluator into checker. Improved reentracy checking mechanism for evaluate functions in type evaluator.
|
2019-11-16 12:47:02 -08:00 |
|
Eric Traut
|
3b4e768fb8
|
Code cleanup.
|
2019-11-16 12:05:20 -08:00 |
|
Eric Traut
|
9a8f5f6581
|
Fixed regression.
|
2019-11-16 11:50:27 -08:00 |
|
Eric Traut
|
276eb00015
|
Preset cache values to prevent infinite recursion.
|
2019-11-16 11:24:06 -08:00 |
|
Eric Traut
|
f95ed3c705
|
Avoid creating code flow nodes for expressions that are not supported.
|
2019-11-16 10:07:12 -08:00 |
|
Eric Traut
|
676a4b4b76
|
Removed code that speculative evaluates the call base type within isCallNoReturn, since it should be cacheable.
|
2019-11-16 09:34:24 -08:00 |
|
Eric Traut
|
b48fe0af6c
|
Added code to specialize lambda parameter types.
|
2019-11-16 09:17:30 -08:00 |
|
Eric Traut
|
b906d0a35f
|
More reordering for performance.
|
2019-11-16 08:44:28 -08:00 |
|
Eric Traut
|
02aa7432b3
|
Moved things around for speed.
|
2019-11-16 08:26:59 -08:00 |
|
Eric Traut
|
78fa780aaa
|
Added common cache.
|
2019-11-16 01:12:16 -08:00 |
|
Eric Traut
|
00342c6779
|
Created cache of code flow analyzers.
|
2019-11-16 00:36:43 -08:00 |
|
Eric Traut
|
5b58b0e851
|
Fixed another unit test.
|
2019-11-15 21:45:27 -08:00 |
|
Eric Traut
|
ef4edda7ca
|
Fixed a few bugs found by unit tests.
|
2019-11-15 21:11:09 -08:00 |
|
Eric Traut
|
f1eea47014
|
Fixed regression.
|
2019-11-15 19:22:20 -08:00 |
|
Eric Traut
|
f7d7cb1ade
|
Fixed broken unit test for circular class dependencies.
|
2019-11-15 19:09:52 -08:00 |
|
Eric Traut
|
894cdbd52b
|
Added new VS Code setting "pyright.openFilesOnly", which is set to true.
|
2019-11-15 18:37:14 -08:00 |
|
Eric Traut
|
460239e7d5
|
Updated dependencies.
|
2019-11-15 18:36:29 -08:00 |
|
Eric Traut
|
572c6ac0be
|
Moved isAssignmentToDefaultsFollowingNamedTuple out of typeEvaluator into parseTreeUtils.
|
2019-11-15 18:35:26 -08:00 |
|
Eric Traut
|
b0a604e871
|
Fixed a symbol resolution bug.
|
2019-11-15 09:26:56 -08:00 |
|
Eric Traut
|
1c8abf58e4
|
Sped up language services by not doing a full type check of the open file before returning results.
|
2019-11-15 00:40:54 -08:00 |
|
Eric Traut
|
2905cb114b
|
Eliminated StringMap in favor of basic Map.
|
2019-11-15 00:21:03 -08:00 |
|
Eric Traut
|
70fdb5be5d
|
Replaced objects with Maps.
|
2019-11-14 23:59:15 -08:00 |
|
Eric Traut
|
7653dac547
|
Changed program module to discard the evaluator if any file contents change.
|
2019-11-14 23:11:16 -08:00 |
|
Eric Traut
|
1223df9acb
|
Fixed bug in namedtuple hack.
|
2019-11-14 23:10:53 -08:00 |
|