Commit Graph

75 Commits

Author SHA1 Message Date
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
Eric Traut
49a4f3452a Added new config option "reportPrivateUsage". 2019-04-16 19:03:39 -07:00
Eric Traut
1541046d7d Added configuration switch that enables reporting of import cycles. 2019-04-16 13:59:56 -07:00
Eric Traut
65239ba766 Added new config switch to control reporting of uses of Optional type as an iterable. 2019-04-15 23:14:39 -07:00
Eric Traut
21320b0288 Replaced --timing command-line switch with --stats, which prints out more information. 2019-04-14 17:44:44 -07:00
Eric Traut
f9aa0218d5 Added proper handling of class decorators.
Added reportUntypedClassDecorator option.
2019-04-12 23:51:22 -07:00
Eric Traut
b5d0299de3 Added support for retrieving search paths from configured python interpreter. 2019-04-09 00:38:54 -07:00
Eric Traut
4a6123d015 Tweaked documentation. 2019-04-06 15:07:20 -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
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
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
9c38d9fad4 Removed obsolete -P command-line parameter. 2019-04-04 21:52:10 -07:00
upa.ver.2.0
0c8db5709a
fix typo. 2019-04-03 22:22:58 +09:00
Eric Traut
b938498bb8 Moved code structure section from main README to internals documentation. 2019-04-01 19:46:51 -07:00
Eric Traut
d29e64aecf Added switches for reportOptionalSubscript, reportOptionalMemberAccess and reportOptionalCall. 2019-03-31 21:58:35 -07:00
freezestudio
3566b6b805
Update internals.md
The function is not written completely
2019-04-01 09:12:45 +08:00
Eric Traut
04217bda4c Added documentation about import resolution. 2019-03-31 12:28:24 -07:00
Eric Traut
bb4b846842 Removed support for pythonPath config file entry and VS Code setting. Added support for PYTHONPATH environment variable. The pythonPath setting were too confusing to users because VS Code’s pythonPath doesn't refer to the PYTHONPATH search paths; instead, it points to a python interpreter. 2019-03-31 12:28:23 -07:00
Eric Traut
2bbb496064 Added example of ignore setting in docs. 2019-03-30 19:41:58 -07:00
Eric Traut
1e47cbe1a7 Added support for "ignore" array in config. 2019-03-30 16:37:03 -07:00