Commit Graph

7518 Commits

Author SHA1 Message Date
Eric Traut
ddbdec5c6b Added logic to ignore return type agreement for abstract methods that declare a return type. 2019-03-30 00:59:00 -07:00
Eric Traut
e0994fdb47 Fixed bug in function parameter type matching. 2019-03-30 00:27:06 -07:00
Eric Traut
bf46a52c97 Fixed handling of __new__ magic method. Its parameter signature changes based on whether it's called as a constructor or by name directly. 2019-03-30 00:11:55 -07:00
Eric Traut
24b7af34f1
Merge pull request #40 from deepcommit/master
fix pep8 E231 issue
2019-03-29 23:35:04 -07:00
Eric Traut
3d1393faf3 Added more type constraint logic to invalidate type constraints after an assignment. 2019-03-29 23:11:15 -07:00
deepcommit
a8e015c2c7 Fixed PYTHON_E231 issues in /home/andrew/Projects/codehelper/data/repos/deepcommit/pyright/server/src/tests/samples/sample1.py 2019-03-29 23:01:22 -07:00
deepcommit
89c456c9fe Fixed PYTHON_W391 issues in /home/andrew/Projects/codehelper/data/repos/deepcommit/pyright/server/src/tests/samples/sample1.py 2019-03-29 23:01:14 -07:00
Eric Traut
cb798aae54 Tweaked wording of progress update. 2019-03-29 19:36:34 -07:00
Eric Traut
62fcd1fe33 Added analysis status progress reporting to VS Code status bar. 2019-03-29 19:33:01 -07:00
Eric Traut
ffd3244753 Fixed bug in expression evaluator where it was creating specialized types of non-generic classes, resulting in a bunch of false positive errors. 2019-03-29 16:26:14 -07:00
Eric Traut
6e71cf72a9 Fixed regression where unknown symbols in type annotations were not being reported. 2019-03-29 16:26:10 -07:00
Eric Traut
2756e666de Made another README edit based on input. 2019-03-29 13:10:11 -07:00
Eric Traut
4b95ec44d4
Merge pull request #36 from jugmac00/patch-1
Fix typo.
2019-03-29 12:59:52 -07:00
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