Commit Graph

  • 9d35adda02 Make sure that a goto on stubs even without the implementation is possible Dave Halter 2019-12-15 18:00:09 +01:00
  • 6e2a76feb9 Fix a goto case with nested pyi files Dave Halter 2019-12-15 17:37:24 +01:00
  • 35442eff81 Catch some cases were _sqlite3.Connection was misidentified as sqlite3.Connection Dave Halter 2019-12-15 16:15:45 +01:00
  • 8fc84a2aaa Rename goto_changes to options Dave Halter 2019-12-15 14:36:36 +01:00
  • 7bdedb40e3 Fix: Stubs in typeshed weren't loaded properly sometimes, fixes #1434 Dave Halter 2019-12-14 21:24:26 +01:00
  • 3219f14c63 Files bigger than one MB (about 20kLOC) get cropped to avoid getting stuck completely Dave Halter 2019-12-14 12:39:37 +01:00
  • 7639bc2da9 Upgrade typeshed, fixes #1084 Dave Halter 2019-12-14 11:35:34 +01:00
  • 5bc6ce231b Add a typeshed README Dave Halter 2019-12-14 11:27:52 +01:00
  • a6bf49783f Make sure param annotation completions work Dave Halter 2019-12-14 02:55:11 +01:00
  • 621e280451 Make sure that you can select virtualenvs more precisely, fixes #1407 Dave Halter 2019-12-13 21:00:34 +01:00
  • 6b9add4264 Python 2 compatibility Dave Halter 2019-12-13 16:58:56 +01:00
  • 92c59180fd Make sure goto definitions works on with, fixes #1280 Dave Halter 2019-12-13 16:57:18 +01:00
  • 923fcf95d9 Make sure that __getattr__ is always working with Interpreter Dave Halter 2019-12-13 16:07:38 +01:00
  • 902f0754e0 qualified names can be None, so we need to handle it Dave Halter 2019-12-13 14:36:05 +01:00
  • 12b07a435d Cleanup some callbacks Dave Halter 2019-12-13 12:47:55 +01:00
  • b9f8a7f52e Make sure that Python 2 passes a test on more systems Dave Halter 2019-12-13 12:28:03 +01:00
  • 769b3556d2 Make sure warnings are not shown if a property is executed, fixes #1383 Dave Halter 2019-12-13 01:48:45 +01:00
  • 5e3e268cc6 Fix RecursionError: global statements in modules should just be ignored, fixes #1457 Dave Halter 2019-12-13 00:21:36 +01:00
  • e656a5f18f Make it possible to infer Callable TypeVars, fixes #1449 Dave Halter 2019-12-12 23:22:52 +01:00
  • 536a77551b Account for sys path potentially not being all unicode in typeshed, fixes #1456 Dave Halter 2019-12-11 00:30:26 +01:00
  • a2cebc4b92 Make sure docstrings can always be inferred for builtins modules, fixes #1432 Dave Halter 2019-12-11 00:04:25 +01:00
  • 3065609162 Forgot to add some test files Dave Halter 2019-12-09 19:26:24 +01:00
  • 8e33fd1931 Get the context of a class name right, fixes #1396 Dave Halter 2019-12-09 09:56:03 +01:00
  • ed3fdf8876 Make sure classmethod signatures don't include cls, fixes #1455 Dave Halter 2019-12-09 08:58:49 +01:00
  • 46982ce42b Add a test to show that type var inference also works for tuples Dave Halter 2019-12-09 00:26:18 +01:00
  • 28ecc2709a Don't use globals anymore Dave Halter 2019-12-09 00:15:21 +01:00
  • 33224ae7e1 Remove a duplicate method Dave Halter 2019-12-09 00:11:51 +01:00
  • d9260bf78b More docstrings Dave Halter 2019-12-09 00:07:07 +01:00
  • a51dc54759 A bit better documentation Dave Halter 2019-12-09 00:02:44 +01:00
  • 5acbb06315 Refactor so typing uses BaseTypingValueWithGenerics Dave Halter 2019-12-08 23:50:46 +01:00
  • 7319f8bf2c Make some more classes private for inference.gradual.base Dave Halter 2019-12-08 23:15:31 +01:00
  • d9ddaa31ae Use _create_instance_with_generics Dave Halter 2019-12-08 23:09:55 +01:00
  • 5874b0bd69 The generics manager is now part of DefineGenericBase Dave Halter 2019-12-08 23:03:15 +01:00
  • 9eef771ec5 Remove get_index_and_execute and use something else Dave Halter 2019-12-08 22:55:52 +01:00
  • 9e6c53151b _InstanceWrapper to _GenericInstanceWrapper Dave Halter 2019-12-08 22:47:07 +01:00
  • 84d10657a3 Another rename for readability Dave Halter 2019-12-08 22:46:35 +01:00
  • 5c4b3da45d Merge GenericClass and _AbstractAnnotatedClass Dave Halter 2019-12-08 22:43:41 +01:00
  • ad92882c48 Use the generics manager for all the typing classes Dave Halter 2019-12-08 22:42:01 +01:00
  • 8213d183fb Start using generic managers, for #1413 Dave Halter 2019-12-08 21:56:30 +01:00
  • 4fca7bd22d Start working on generic managers, see #1413 Dave Halter 2019-12-08 20:35:00 +01:00
  • c112858a1c Move iter_over_arguments to a separate file Dave Halter 2019-12-08 20:14:15 +01:00
  • deaa7265dd value_of_index -> context_of_index Dave Halter 2019-12-08 20:09:53 +01:00
  • 72fc85f4c3 Try to prepare DefineGenericBase for a more general usage Dave Halter 2019-12-08 19:58:00 +01:00
  • df697cfb03 Make AbstractAnnotatedClass private Dave Halter 2019-12-08 19:00:26 +01:00
  • fd054d1add Move parts of AbstractAnnotatedClass to the new class DefineGenericBase Dave Halter 2019-12-08 18:58:28 +01:00
  • 95763f0bb0 Formatting Dave Halter 2019-12-08 18:23:55 +01:00
  • aab0002950 Rename two classes to make some things clearer Dave Halter 2019-12-07 15:32:59 +01:00
  • ddbb87fd1d Make some lines shorter Dave Halter 2019-12-07 15:29:56 +01:00
  • bc99fbdfea Remove an unused InstanceArguments Dave Halter 2019-12-07 15:27:26 +01:00
  • 48ac0c9421 Move more stuff from gradual/typing.py to gradual/base.py Dave Halter 2019-12-07 15:27:14 +01:00
  • 37a9d1536c Remove TypingName, it looks like it's not used Dave Halter 2019-12-07 15:12:27 +01:00
  • 3dbe5c10ae Start splitting up gradual/typing.py Dave Halter 2019-12-07 15:11:50 +01:00
  • ab8f0ba834 Make sure Callable TypeVars are better identified, solves a part of #1413 Dave Halter 2019-12-07 15:01:47 +01:00
  • 4bd7c2e627 Remove a TODO that was implemented Dave Halter 2019-12-07 14:56:20 +01:00
  • 1f73c65dcd Pin colorama to a version that works for Python 3.4 Dave Halter 2019-12-07 01:09:21 +01:00
  • bd5909e7b2 Find active conda environment and set it as default (if there is one) (#1440) Shane Steinert-Threlkeld 2019-12-06 16:04:41 -08:00
  • 6f70e759a4 Remove Python 3.4 test from appveyor Dave Halter 2019-12-07 01:02:18 +01:00
  • 0474371f23 Make sure overload signatures work, see #1417 Dave Halter 2019-12-07 00:30:21 +01:00
  • 654475b7d6 Infering multiple fields is fixed. ANtlord 2019-12-06 23:58:13 +02:00
  • fbeff00761 Decimal, DurationField, DateField, DateTimeField, DecimalField django types are resolved. ANtlord 2019-12-06 23:47:19 +02:00
  • c582545628 Shorten a line to < 100 chars Dave Halter 2019-12-06 16:41:47 +01:00
  • 759808e8bb Fix a tuple test Dave Halter 2019-12-05 20:01:27 +01:00
  • 36b800f8d3 Make sure that Tuple autocompletes properly, fixes #1389 Dave Halter 2019-12-05 18:55:33 +01:00
  • 7e64bfa075 Avoid more Python 2 Dave Halter 2019-12-05 17:44:47 +01:00
  • 54f4bd0bad Fix issues with interpreter completions on unittest.mock. Dave Halter 2019-12-05 10:09:16 +01:00
  • cf65ecdb96 Start writing the changelog Dave Halter 2019-12-05 01:13:52 +01:00
  • 700bd12122 Improve call signature detection by a lot Dave Halter 2019-12-04 23:55:26 +01:00
  • 4ba3dc69b3 Make sure we use the right context in case of goto with decorators, fixes #1427 Dave Halter 2019-12-04 00:25:18 +01:00
  • b8a1f6da55 Python 2 still sucks. Dave Halter 2019-12-03 23:41:33 +01:00
  • 19aa50bb7f Make sure an assert no longer causes unnecessary trouble Dave Halter 2019-12-03 23:10:24 +01:00
  • 8aee1e6213 Make sure that decorator signature completion is working, see #1433 Dave Halter 2019-12-03 22:18:01 +01:00
  • f46f00bc71 Avoid wrong random call signature completion, fixes #1433 Dave Halter 2019-12-03 22:12:33 +01:00
  • fea80c7fc8 Make sure py__iter__ has the right signature Dave Halter 2019-12-03 17:18:30 +01:00
  • 87852c1295 Remove probably dead code Dave Halter 2019-12-03 17:16:38 +01:00
  • 3d784c748e Python 2 Dave Halter 2019-12-03 16:53:07 +01:00
  • e5d1091e80 Make sure execute_function_slots and get_function_slots is defined for all instances Dave Halter 2019-12-03 16:50:34 +01:00
  • 7254bec92c Upgrade typeshed to the latest commits Dave Halter 2019-12-02 10:14:59 +01:00
  • 74de9e7d53 Make sure that the differences are calculated a bit more reliable, fixes #1429 Dave Halter 2019-12-02 00:22:15 +01:00
  • f54291a30b Unfortunately commited something that should not have been committed Dave Halter 2019-12-02 00:11:29 +01:00
  • 4d3f6fa790 Fix Python 2 issues Dave Halter 2019-12-02 00:04:22 +01:00
  • b8dfbc5d18 A CompiledInstance is not really compiled, it's an instance of a compiled class value Dave Halter 2019-12-01 23:50:46 +01:00
  • f43d144e23 Remove is_package on contexts Dave Halter 2019-12-01 20:50:29 +01:00
  • 76e0e6a8c5 Fix some more package issues Dave Halter 2019-12-01 20:42:55 +01:00
  • 7b6405f76c Get rid of py__package__ from contexts Dave Halter 2019-12-01 19:33:24 +01:00
  • 8a26a23884 Make is_package a function and call it consistently Dave Halter 2019-12-01 19:31:31 +01:00
  • 6ffeea7eea Make sure code_lines works on stubs, even if they are builtins Dave Halter 2019-12-01 19:10:08 +01:00
  • 582df2f76d Fix the MixedContext and also use MixedModuleContext Dave Halter 2019-12-01 17:22:36 +01:00
  • 5c79472024 Separate CompiledModuleContext from CompiledContext, fixes #1428 Dave Halter 2019-12-01 14:56:55 +01:00
  • 378712dbc1 Fix contextualizing of subscriptlist Dave Halter 2019-12-01 11:07:18 +01:00
  • b13c4c446f Fix a globals context issue, fixes #1435 Dave Halter 2019-12-01 01:27:49 +01:00
  • e81c241905 Remove Python 2 implicit relative imports feature Dave Halter 2019-12-01 00:45:08 +01:00
  • c77f33b73b A small rename of a value that is actually a context Dave Halter 2019-12-01 00:31:22 +01:00
  • b895924311 Merge pull request #1451 from pappasam/FIX_SHOW_SYSTEM_FOLDERS Dave Halter 2019-12-01 00:12:51 +01:00
  • 86071dda54 Use a different sys path for import completions and import type inference Dave Halter 2019-12-01 00:10:11 +01:00
  • 1ba83414a5 Change search strategy for adding parent paths: #1451 Sam Roeca 2019-11-30 10:14:28 -05:00
  • 59c5b51c0d Add __ne__ to BaseValueSet. Might have caused issues in Python 2, see #1442 Dave Halter 2019-11-30 10:01:09 +01:00
  • c2fd7b3104 Fix: upward search omits unnecessary paths Sam Roeca 2019-11-29 21:12:12 -05:00
  • 4bc4f167e9 Revert "Fix: no longer shows folders recursively to root" Sam Roeca 2019-11-29 20:11:23 -05:00
  • 3c68d3d341 Avoid finding submodules for compiled objects, because it's at least not implemented Dave Halter 2019-11-29 17:17:36 +01:00
  • 8478ad7ffb Make sure that goto on a subscript colon doesn't crash Dave Halter 2019-11-29 17:10:07 +01:00