cshesse
|
be084b15df
|
type: ignore
|
2019-11-24 09:19:15 -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
|
c0b6f99ae7
|
Added new 'outputjson' command-line option that formats output in JSON format.
|
2019-11-21 00:30:44 -08:00 |
|
Eric Traut
|
ad17925f50
|
Added new VS Code experimental setting "useLibraryCodeForTypes". If enabled, pyright will attempt to extract type information from library implementation files.
|
2019-11-19 21:50:27 -08:00 |
|
Eric Traut
|
4e559d327a
|
Added config feature "reportAssertAlwaysTrue". It flags errant assert statements.
|
2019-11-17 18:02:46 -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
|
894cdbd52b
|
Added new VS Code setting "pyright.openFilesOnly", which is set to true.
|
2019-11-15 18:37:14 -08:00 |
|
Eric Traut
|
90caa3159e
|
Renamed expressionEvaluator to typeEvaluator and typeAnalyzer to checker to better reflect their new roles.
|
2019-11-10 16:56:15 -08:00 |
|
Eric Traut
|
7be19b6a52
|
Expanded isinstance support (for both the reportUnnecessaryIsInstance switch and type constraints) to also support issubclass.
|
2019-10-24 23:22:03 -07:00 |
|
Eric Traut
|
358abe62e4
|
Added code to command-line version to report a non-zero exit code if the config file couldn't be read or parsed.
|
2019-10-23 23:34:27 -07:00 |
|
Eric Traut
|
41058eb22b
|
Added config switch for reportUnknownLambdaType.
|
2019-10-04 23:39:04 -07:00 |
|
Eric Traut
|
3d9c094918
|
Added support for enableTypeIngoreComments switch.
|
2019-09-26 19:50:07 -07:00 |
|
Eric Traut
|
294cc3d12c
|
Fixed some typos in documentation.
|
2019-09-26 19:38:48 -07:00 |
|
Eric Traut
|
0d9274a00e
|
Updated configuration sample to include exclusion of node_modules and __pcache__.
|
2019-09-14 13:09:22 -07:00 |
|
Eric Traut
|
92a0b6e4be
|
Completely eliminated postParseWalker, moving all name binding into the binder module.
|
2019-09-12 21:43:25 -07:00 |
|
Eric Traut
|
a5db38d69e
|
Renamed "semantic analyzer" to "binder".
Moved import detection from post-parse walker into parser.
|
2019-09-12 18:02:12 -07:00 |
|
Eric Traut
|
797c790a42
|
Implemented reportUnnecessaryCast feature.
|
2019-09-05 17:40:25 +00:00 |
|
Eric Traut
|
f1c823ae5c
|
Minor update to internals documentation.
|
2019-09-05 10:37:12 +00:00 |
|
Eric Traut
|
f272d78de8
|
Updated command-line documentation.
|
2019-09-05 00:42:08 +00:00 |
|
Eric Traut
|
1f3ed05adc
|
Documented recent features.
|
2019-09-04 23:54:19 +00:00 |
|
Eric Traut
|
058d984755
|
Added new setting "pyright.disableLanguageServices" in VS Code extension for disabling language service features.
|
2019-08-16 22:51:50 -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
|
1d5475bfcb
|
Added support for new rule: strictParameterNoneValue.
|
2019-08-04 15:18:51 -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
|
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
|
3c9954eb30
|
Added "--dependencies" command-line switch that reports import dependency information for all source files that were analyzed.
|
2019-07-27 12:58:14 -07:00 |
|
Eric Traut
|
9e12d3e944
|
Updated implementation of reportPrivateUsage check to differentiate between protected class members (single underscore) and private class members (double underscore).
|
2019-06-24 11:50:35 -06:00 |
|
Eric Traut
|
f24806a985
|
Added new "strict" configuration setting.
|
2019-06-17 16:54:52 -06:00 |
|
Luca Dorigo
|
a13a3595de
|
Fix small typo that made list display incorrectly
|
2019-05-27 11:03:02 +02:00 |
|
Eric Traut
|
e71f64ac4a
|
Added support for new config options: reportUnusedImport, reportUnusedClass, reportUnusedFunction, and reportUnusedVariable.
|
2019-05-23 20:31:23 -07:00 |
|
Eric Traut
|
866615aa5d
|
Minor tweak to documentation.
|
2019-05-23 16:18:57 -07:00 |
|
Eric Traut
|
4213dd9211
|
Added documentation for "Never" internal type.
|
2019-05-23 16:16:37 -07:00 |
|
Eric Traut
|
f66856b503
|
Updated docs for new file-level comment.
|
2019-05-21 10:29:45 -07:00 |
|
Eric Traut
|
87030c7a06
|
Updated documentation to reflect new exit code behavior.
|
2019-05-16 20:28:04 -07:00 |
|
Eric Traut
|
7d5ff66df2
|
Added config options strictListInference and strictDictionaryInference.
|
2019-05-15 22:59:32 -07:00 |
|
Eric Traut
|
e55bee2c09
|
Updated getting-started instructions.
|
2019-05-11 19:53:25 -07:00 |
|
Eric Traut
|
b92873b2dd
|
Added "reportConstantRedfinition" config option.
|
2019-05-11 19:28:23 -07:00 |
|
Eric Traut
|
01de6d61ed
|
Added new config option "reportIncompatibleMethodOverrode".
|
2019-05-10 23:05:30 -07:00 |
|
Eric Traut
|
2f148e88a7
|
Small tweaks to version printing code.
|
2019-05-09 08:21:22 -07:00 |
|
Oleg Butuzov
|
76d464aaad
|
--version cli argument added to pyright
|
2019-05-09 16:41:54 +03:00 |
|
Eric Traut
|
76697a8252
|
Added support for "reportUntypedNamedTuple" switch.
|
2019-05-01 18:43:45 -07:00 |
|
Eric Traut
|
71ffa702ed
|
Renamed reportUnknownParameter to reportUnknownParameterType. Added reportUnknownVariableType and reportUnknownMemberType.
|
2019-04-28 22:20:29 -07:00 |
|
Eric Traut
|
955074c634
|
Added documentation for new strict mode.
|
2019-04-28 12:59:19 -07:00 |
|
Eric Traut
|
93595c1720
|
Added new config switch "reportUnknownParameter" to control reporting of unknown input and return parameter types.
|
2019-04-28 01:51:22 -07:00 |
|
Eric Traut
|
375e35e56d
|
Added a bunch of verbose diagnostic information to help resolve import resolution issues.
|
2019-04-27 19:04:37 -07:00 |
|
Eric Traut
|
b3b7e76705
|
Added detection and reporting of invalid escape sequences in text literals. Added "reportInvalidStringEscapeSequences" to control reporting.
|
2019-04-21 11:10:41 -07:00 |
|
Eric Traut
|
ce813deed2
|
Implemented reportOptionalOperand switch.
Implemented stricter type checking related to binary and unary operations.
|
2019-04-19 23:33:01 -07:00 |
|
Eric Traut
|
9a08af039f
|
Added "reportOptionalContextManager" config switch.
|
2019-04-18 19:59:59 -07:00 |
|
Eric Traut
|
2abd802fe6
|
Added new config feature: reportUntypedBaseClass.
|
2019-04-18 07:45:50 -07:00 |
|