Commit Graph

161 Commits

Author SHA1 Message Date
Eric Traut
2156f2eb73 Implemented "reportUninitializedInstanceVariable" diagnostic check that looks for instance variables that are not initialized in the class body or constructor. 2021-07-14 16:13:49 -06:00
Eric Traut
83aca27bf9 Published 1.1.156 2021-07-10 22:46:00 -06:00
Eric Traut
39edeecfee Published 1.1.155 2021-07-03 10:33:56 -06:00
Eric Traut
845764c5ae Modified reportUnnecessaryIsInstance diagnostic to never report always-false conditions because the type checker no longer generates such conditions. 2021-07-03 10:03:49 -06:00
Eric Traut
cd1292858c Published 1.1.154 2021-06-30 19:14:03 -06:00
Eric Traut
aaf8c4fa0f Removed support for undocumented "mspythonconfig.json" config file name in favor of the documented "pyrightconfig.json". 2021-06-28 10:40:31 -06:00
Eric Traut
d07bee39c2 Published 1.1.153 2021-06-25 18:08:38 -07:00
Eric Traut
e66600b2b5 Published 1.1.152 2021-06-23 09:47:29 -07:00
Eric Traut
38bcb8d327 Published 1.1.151 2021-06-20 08:12:04 -07:00
Eric Traut
d29647bd4f Published 1.1.150 2021-06-17 00:00:10 -07:00
Eric Traut
562a6b4848 In basic type checking mode, enabled the following diagnostic checks by default: reportOptionalSubscript, reportOptionalMemberAccess, reportOptionalCall, reportOptionalIterable, reportOptionalContextManager, and reportOptionalOperand. 2021-06-16 18:43:58 -07:00
Eric Traut
c64baa0f02 Made changes for upcoming TypeScript 4.4 "strictOptionalProperties" strict compiler feature. 2021-06-15 18:50:46 -07:00
Eric Traut
0dfd35c31a Added ".webpack_cache" to ".vscodeignore" so webpack cache is not included in the published VS Code extension. 2021-06-14 13:27:50 -07:00
Eric Traut
618d164929 Published 1.1.149 2021-06-14 12:57:29 -07:00
Jake Bailey
23f9f75b2d
Update dependencies, restore sys.path check for directories (#1977) 2021-06-11 13:03:39 -07:00
Eric Traut
e98146b5d3 Published 1.1.148 2021-06-09 11:01:01 -07:00
Eric Traut
71c7bb1fe1 Published 1.1.147 2021-06-04 17:17:36 -07:00
Eric Traut
209c80409e Published 1.1.146 2021-06-02 12:58:23 -07:00
Jake Bailey
e52d1e96e5
Typecheck JS, webpack caching, zip/egg support (#1937) 2021-06-02 12:18:10 -07:00
Eric Traut
79ce1f7a93 Published 1.1.145 2021-05-30 11:00:19 -07:00
Eric Traut
fd3343028b Published 1.1.144 2021-05-26 15:03:25 -07:00
Eric Traut
98d7b61625 Published 1.1.143 2021-05-23 23:51:29 -07:00
Eric Traut
fd10478340 Published 1.1.142 2021-05-21 09:01:49 -07:00
Eric Traut
1f57ad5c2f Downgraded npm to make CI happy. 2021-05-19 13:37:25 -07:00
Eric Traut
8224424743 Published 1.1.141 2021-05-19 13:06:16 -07:00
Eric Traut
326ecf127b Published 1.1.140 2021-05-16 15:40:48 -07:00
Eric Traut
186e444652 Added new diagnostic rule "reportIncompleteStub", which reports a diagnostic for a module-level __getattr__ function in a type stub, indicating that it's incomplete. This check was previously part of the "reportUnknownMemberType" diagnostic rule. 2021-05-15 19:23:25 -07:00
Eric Traut
10a38b15a3 Published 1.1.139 2021-05-14 21:57:14 -07:00
Jake Bailey
48a5f12840
Update deps, better ignore .git, bump to ES2019, fix case problem (#1860)
Co-authored-by: HeeJae Chang <hechang@microsoft.com>
2021-05-14 12:02:43 -07:00
Eric Traut
b1036990ca Fixed a few inconsistent dependencies. 2021-05-13 17:22:30 -07:00
Eric Traut
2ec4a682ec Updated typeshed to the latest. 2021-05-13 17:07:31 -07:00
Jake Bailey
893d08be8c Update everything for main branch rename 2021-05-13 13:26:44 -07:00
Eric Traut
7bb059ecba Published 1.1.138 2021-05-06 14:36:55 -07:00
Eric Traut
cbf53418e5 Published 1.1.137 2021-05-04 16:07:32 -07:00
Jake Bailey
414b7e8ba4
Performance improvements, remove dep (#1826)
Co-authored-by: HeeJae Chang <hechang@microsoft.com>
2021-05-04 15:04:01 -07:00
Eric Traut
46bf68842a Removed execution environment "venv" key from pyrightconfig.json schema file because we removed support for this a while ago. 2021-04-30 13:51:49 -07:00
Eric Traut
0d11b2ab25 Published 1.1.136 2021-04-28 17:25:34 -07:00
Eric Traut
b647114067 Published 1.1.135 2021-04-25 23:44:35 -07:00
Eric Traut
2dfda68a37 Published 1.1.134 2021-04-23 22:42:58 -07:00
Jake Bailey
a9cf4129d2
Update dependencies (#1789) 2021-04-22 17:03:14 -07:00
Eric Traut
7c02add8d3 Published 1.1.133 2021-04-20 22:06:39 -07:00
Eric Traut
69a0c5594a Added support for pyproject.toml files. 2021-04-20 21:51:39 -07:00
Eric Traut
3dec7f5e3e Published 1.1.132 2021-04-16 20:46:54 -07:00
Eric Traut
ea9e76fe78 Published 1.1.131 2021-04-16 18:54:39 -07:00
Eric Traut
dd59aca0d3 Published 1.1.130 2021-04-09 21:51:23 -07:00
Eric Traut
27fb622a5e Implemented new diagnostic rule "reportUnnecessaryComparison". It checks for "==" and "!=" comparisons where the LHS and RHS types have no overlap and the LHS has no __eq__ overload. This new diagnostic rule is off by default in normal type checking mode but is on in strict mode. 2021-04-08 16:32:08 -07:00
Eric Traut
96871bec5a Published 1.1.129 2021-04-06 17:00:25 -07:00
Eric Traut
4f03ba88c0 Added configuration option "strictSetInference" which is analogous to "strictListInference" and "strictDictionaryInference" but specifically for set expressions. 2021-04-03 08:35:40 -07:00
Eric Traut
4d2c913ad9 Published 1.1.128 2021-04-02 21:04:58 -07:00
Eric Traut
ba71f25743 Published 1.1.127 2021-03-31 13:01:14 -07:00