Commit Graph

7555 Commits

Author SHA1 Message Date
Eric Traut
0017f645b3 Edited the README to make it more readable, terse, and avoid specific numeric performance claims in the absence of formal benchmark results. 2019-03-29 12:43:32 -07:00
Jürgen Gmach
adb9e0ec4a
Fix typo. 2019-03-29 19:24:01 +01:00
Eric Traut
8bdd4b7c3a
Merge pull request #31 from Shwetago/master
Update command-line.md
2019-03-29 08:22:58 -07:00
Shweta Goyal
f7b2aa6250
Update command-line.md 2019-03-29 18:56:16 +05:30
Eric Traut
c58f3f8663 Fixed bug in configOptions module - wasn't picking up the venvPath or pythonPath. 2019-03-29 01:15:11 -07:00
Eric Traut
d6c940a76a Updated package.json to 1.0.5. 2019-03-29 01:14:50 -07:00
Eric Traut
d88e14b53e Updated README. 2019-03-28 22:53:46 -07:00
Eric Traut
f6711cdcf4 Reduce the no-open-file time limit to improve responsiveness. 2019-03-28 20:56:14 -07:00
Eric Traut
1204e8c104 Fixed a few more issues in type constraints engine. 2019-03-28 20:52:56 -07:00
Eric Traut
30fb56baef Fixed handling of type annotations that involve generic classes with no specified type parameters (e.g. "list"). 2019-03-28 17:16:57 -07:00
Eric Traut
d06d89a6dd Fixed special-case type checking rules for int and float. 2019-03-28 16:52:18 -07:00
Eric Traut
c5ad70cb29 Added logic for conditional type assignments within except and else clauses of try/except/else/finally statement. 2019-03-28 10:51:30 -07:00
Eric Traut
365f966a9e Added assignment type constraint. 2019-03-28 00:39:18 -07:00
Eric Traut
fe3b7069cf Added documentation for building and debugging. 2019-03-27 23:18:11 -07:00
Eric Traut
76cf9dc476 Improved performance of VS Code analyzer by creating larger batches once all open files and their dependencies have been analyzed. 2019-03-27 23:18:11 -07:00
Eric Traut
e03f63a181 Eliminated redundant error reporting of undefined values. 2019-03-27 23:18:11 -07:00
Eric Traut
324a1e382a Fixed a regression in type constraint logic found during manual testing. 2019-03-27 23:18:11 -07:00
Eric Traut
dac4a33087 Fixed additional bugs in the "InstanceOf" type constraint logic. The interactions between subclasses and superclasses was more complex than I had originally appreciated. 2019-03-27 23:18:11 -07:00
Eric Traut
64deeded4a
Merge pull request #27 from pykong/patch-1
Enhancing FAQ readability
2019-03-27 07:59:55 -07:00
Ben Felder
76e333db31
Enhancing FAQ readability 2019-03-27 14:55:38 +01:00
Eric Traut
3e87a2993b Published 1.0.4 2019-03-26 23:58:26 -07:00
Eric Traut
ce804a1d39 Fixed recent regression that caused unit tests to crash. 2019-03-26 23:54:06 -07:00
Eric Traut
01204a1db2 Fixed debugging of command-line tool. 2019-03-26 23:53:50 -07:00
Eric Traut
64708ce30b Added code to find built-in aliases in the collections typeshed file. 2019-03-26 23:30:00 -07:00
Eric Traut
096b0c7399 Changed code to emit error if configuration specifies a python version of 2.x, since Pyright doesn't currently support that. 2019-03-26 22:38:14 -07:00
Eric Traut
19f1250405
Merge pull request #25 from tamuhey/docs_configuration_venv
Add sample of vev configuration in docs.configuration
2019-03-26 22:22:39 -07:00
Yohei Tamura
8715d7424a add venv sample config 2019-03-27 04:19:27 +00:00
Eric Traut
cc231dc238 Temporarily disable return type checks for generator functions. 2019-03-26 20:42:41 -07:00
Eric Traut
5c82476945 Improved logic for detecting typeshed directory. 2019-03-26 20:05:47 -07:00
Eric Traut
756ca87e8f Fixed bug in isinstance type constraint. It was using the wrong direction for testing for subclasses. 2019-03-26 20:04:42 -07:00
Eric Traut
cc261abf7c Renamed reportMissingStubFiles to reportMissingTypeStubs. 2019-03-26 19:49:50 -07:00
Eric Traut
0ba5a1a8cb Added support for a few configuration settings in VS Code that are common to the standard VS Code Python extension.
Added new setting "reprtMissingStubFiles".
2019-03-26 19:47:02 -07:00
Eric Traut
7b148b9fe2 Updated README. 2019-03-25 01:54:16 -07:00
Eric Traut
9df1398320 Fixed regression in launch script. 2019-03-25 01:53:56 -07:00
Eric Traut
a4d42ba0e9 Implemented code to validate subtyping for classes and objects with type arguments. This includes enforcement of covariance and contravariance. 2019-03-25 01:53:37 -07:00
Eric Traut
816c4131e3 Added new build:clientServer script to speed up inner loop of debugging. 2019-03-24 18:05:31 -07:00
Eric Traut
7e859f73d9 Fixed a couple of bugs in the docs. 2019-03-24 14:24:42 -07:00
Eric Traut
026a1f48c0 Added more documentation around the -v command-line switch. 2019-03-24 10:52:32 -07:00
Eric Traut
f5362e9e09 Added installation instructions for command-line tool. 2019-03-24 03:34:53 -07:00
Eric Traut
e7e9e0a8eb Added logic in command-line parser to print usage if no files or projects are specified.
Added "bin" section to project.json.
Bumped version to 1.0.3.
2019-03-24 03:31:37 -07:00
Eric Traut
c9b18356a4 Removed postinstall script so npm installation is possible. 2019-03-24 03:06:45 -07:00
Eric Traut
0563813b9e Updated build scripts to build command-line version into an npm module. 2019-03-24 02:58:01 -07:00
Eric Traut
5e83a19a04 Added "source" string to diagnostics output so errors and warnings are displayed with "pyright" in VS Code. 2019-03-24 02:38:38 -07:00
Eric Traut
396b6888fb Fixed crashing bug that could occur if typeshed files were not found. 2019-03-24 01:10:19 -07:00
Eric Traut
8afce050bd Fixed unit tests. 2019-03-24 00:01:35 -07:00
Eric Traut
a2c1fdef39 Fixed bug that caused a crash when last file in program was removed from the source file list. 2019-03-23 23:48:11 -07:00
Eric Traut
08baed6f06
Merge pull request #5 from kinow/log-consistency-1
Be consistent on log messages, using file location instead of URI as in other methods
2019-03-23 23:03:39 -07:00
Bruno P. Kinoshita
df84fe04e3 Be consistent on log messages, using file location instead of URI as in other methods 2019-03-24 18:52:43 +13:00
Eric Traut
ecffdd4bb4 Published 1.0.1. 2019-03-23 21:55:32 -07:00
Eric Traut
d5560b6e98
Merge pull request #2 from kinow/typo-in-method
Fix typos in methods
2019-03-23 21:22:23 -07:00