1
0
forked from VimPlug/jedi

Commit Graph

  • ef2e2f343e Fix some warnings. Dave Halter 2017-05-25 12:24:12 -04:00
  • 6a320147ac Catch an importlib warning. Dave Halter 2017-05-24 23:43:27 -04:00
  • 4b0b07791e Bump parso version. Dave Halter 2017-05-24 00:42:06 -04:00
  • 7173559182 Move a test to parso. Dave Halter 2017-05-24 00:41:55 -04:00
  • cd8932fbfc Add a latest grammar to the evaluator and use it to avoid importing from parso import parse. Dave Halter 2017-05-24 00:37:36 -04:00
  • b90589b62e Some changes because parso has changed. Dave Halter 2017-05-22 15:42:42 -04:00
  • 91e753e07a The deploy script should create versions prefixed with v. Dave Halter 2017-05-20 18:01:33 -04:00
  • d6f695b3bb Use the ast module instead of a jedi import to get the jedi version. Dave Halter 2017-05-20 17:53:11 -04:00
  • c7984c0710 Add a requirements.txt. Dave Halter 2017-05-20 17:22:24 -04:00
  • fdff9396dd Move an import. Dave Halter 2017-05-20 16:08:43 -04:00
  • aec86c6c80 distutils doesn't support install_requires. Dave Halter 2017-05-20 16:07:38 -04:00
  • f35f1b9676 Add the cache_path parameter to parso calls. Dave Halter 2017-05-20 10:08:48 -04:00
  • 50c7137437 splitlines and source_to_unicode are utils of parso. Dave Halter 2017-05-20 09:55:16 -04:00
  • 0f4b7db56a Move jedi parser cache tests to parso. Dave Halter 2017-05-19 15:04:28 -04:00
  • 3c2b10a2a0 Remove a test that wasn't used for a long time. Dave Halter 2017-05-19 14:45:36 -04:00
  • 576c8cb433 Remove a star import cache test (the star import cache doesn't exist anymore). Dave Halter 2017-05-19 14:24:48 -04:00
  • 9bca3d39f5 Actually use parso now instead of Jedi. Dave Halter 2017-05-19 14:20:14 -04:00
  • ccbaa12143 Add parso as a depencency in setup.py. Dave Halter 2017-05-19 10:29:32 -04:00
  • 32432b1cd1 Remove the parser packages from setup.py. Dave Halter 2017-05-19 10:27:26 -04:00
  • f92e675400 Remove the whole parser. Dave Halter 2017-05-19 10:26:24 -04:00
  • fb1c208985 Remove the tests that have been moved to parso. Dave Halter 2017-05-19 10:23:56 -04:00
  • 3c57f781dd Move another few tests. Dave Halter 2017-05-15 15:18:42 -04:00
  • f4548d127c Some simplifications for the parsers. Dave Halter 2017-05-15 15:02:45 -04:00
  • 882ddbf8ac Move some more parser tests. Dave Halter 2017-05-15 15:00:34 -04:00
  • 0a8c96cd22 Remove a test that is really not necessary anymore, because the issues that it was covering back then are not issues anymore with the new infrastructure. Dave Halter 2017-05-15 14:53:50 -04:00
  • 6848762f7c Move some more tests. Dave Halter 2017-05-15 14:51:25 -04:00
  • f8b5aab6f4 Move some parser tests. Dave Halter 2017-05-15 13:57:26 -04:00
  • 90b531a3b3 Correcting a sentence. Dave Halter 2017-05-15 11:10:22 -04:00
  • 0da875281b Remove an unused compatibility function that was overriden by the same name lower in the same file. Dave Halter 2017-05-11 16:22:11 -04:00
  • 0b3590ce20 Python 3.6 was not tested in the default configuration of tox. Dave Halter 2017-05-08 19:55:35 +02:00
  • 9fb7fb66da Move another test to delete a file. Dave Halter 2017-05-07 16:39:32 +02:00
  • 3b033bb276 Remove two tests that are not necessary anymore because the code that made them necessary was removed (some import hacks). Dave Halter 2017-05-07 16:33:24 +02:00
  • ab71c943ee Move a parser test to the correct place. Dave Halter 2017-05-07 16:29:48 +02:00
  • d717c3bf40 Merge some import tests. Dave Halter 2017-05-07 16:20:49 +02:00
  • f9f60177bf Move an analysis test. Dave Halter 2017-05-07 16:14:21 +02:00
  • 6b7376bc5d Move some stdlib tests. Dave Halter 2017-05-07 16:06:01 +02:00
  • 6c95f73d77 Remove a function that was not really needed. Dave Halter 2017-05-07 15:59:55 +02:00
  • 84d8279089 Import.paths -> Import.get_paths. Dave Halter 2017-05-07 15:47:34 +02:00
  • 9bf66b6149 Make Import.aliases private. Dave Halter 2017-05-07 15:38:03 +02:00
  • 66b28ca840 Small cleanup. Dave Halter 2017-05-07 15:22:45 +02:00
  • fe49fc9b99 Add slots to the PythonMixin. Dave Halter 2017-05-07 15:06:34 +02:00
  • 536e62e67d Move is_scope and get_parent_scope out of the parser. Dave Halter 2017-05-07 14:58:53 +02:00
  • 0882849e65 Don't do a simple_stmt error recovery in the parser, because it makes it more complicated. Dave Halter 2017-05-07 14:52:46 +02:00
  • 30a02587a7 Merge branch 'dev' of github.com:davidhalter/jedi into dev Dave Halter 2017-05-07 14:46:47 +02:00
  • 80fbdec1da Corrected test class name. Élie Gouzien 2017-05-06 14:28:11 +02:00
  • 405a339719 Add author Élie Gouzien. Élie Gouzien 2017-05-06 14:16:06 +02:00
  • 9d5cc0be06 Test that no repr() can slow down completion. Élie Gouzien 2017-05-06 14:14:56 +02:00
  • a78769954d Check whether inspect.getfile will raise a TypeError and anticipate it. Élie Gouzien 2017-05-06 13:33:36 +02:00
  • 14eeb60240 Remove is_scope from CompiledObject. It's not needed according to tests. Dave Halter 2017-05-05 09:23:50 +02:00
  • f916b9b054 More docstrings. Dave Halter 2017-05-05 09:21:42 +02:00
  • 336b8a46d0 search_ancestor now uses *node_types as a parameter instead of a mix of tuple and simple string like isinstance. Dave Halter 2017-05-02 19:19:07 +02:00
  • 6ea06fdfd8 Even if static analysis is not working well, we can at least write it correctly. Dave Halter 2017-05-02 08:59:07 +02:00
  • 5c836a72b6 Lambda and Function docstrings render better. Dave Halter 2017-05-02 08:57:03 +02:00
  • fc7cc1c814 Docstrings for get_defined_names. Dave Halter 2017-05-02 08:50:52 +02:00
  • e96bb29d18 Param docstring. Dave Halter 2017-05-02 08:43:46 +02:00
  • c1c3f35e08 Docstring for Param.get_code(). Dave Halter 2017-05-01 02:26:24 +02:00
  • 63679aabd9 Replace Param.get_description with get_code and a parameter include_coma. Dave Halter 2017-05-01 02:19:42 +02:00
  • e0b0343a78 Remove expanduser from the parser path. Not sure if that makes sense so I'd rather remove it. Dave Halter 2017-04-30 15:23:43 +02:00
  • e2f88db3c2 Trying to make coveralls work again. Dave Halter 2017-04-30 14:19:53 +02:00
  • 0f1570f682 position_nr -> position_index Dave Halter 2017-04-30 14:12:30 +02:00
  • 2383f5c0a0 docstrings for the parser tree. Dave Halter 2017-04-30 14:06:57 +02:00
  • a1454e3e69 Fix a docstring test. Dave Halter 2017-04-30 03:11:09 +02:00
  • 78fd3ad861 is_generator is not needed in lambdas. Dave Halter 2017-04-30 03:07:48 +02:00
  • 1295d73efd path_for_name -> get_path_for_name Dave Halter 2017-04-30 03:03:58 +02:00
  • e2d6c39ede Remove yields from lambda. It was previously removed from Function. Dave Halter 2017-04-30 02:59:09 +02:00
  • 076eea12bd Some minor refactoring of the python tree. Dave Halter 2017-04-30 02:56:44 +02:00
  • 8165e1a27f Add Module.iter_future_import_names to make checking for future imports easier. Dave Halter 2017-04-30 02:44:02 +02:00
  • f2a77e58d8 Merge branch 'dev' of github.com:davidhalter/jedi into dev Dave Halter 2017-04-30 02:34:38 +02:00
  • d8761e6310 Use names instead of the isinstance checks in _search_in_scope Dave Halter 2017-04-30 02:33:51 +02:00
  • 6e9911daa3 Scope.imports -> iter_imports. Dave Halter 2017-04-30 02:31:30 +02:00
  • 42fe1aeaa1 Move yields -> iter_yield_exprs. Dave Halter 2017-04-30 01:56:17 +02:00
  • 606871eb62 returns -> iter_return_stmts Dave Halter 2017-04-30 01:45:59 +02:00
  • b4039872bd Replace Scope.subscopes with iter_funcdefs and iter_classdefs. Dave Halter 2017-04-30 01:35:59 +02:00
  • 6f1ee0cfa8 Use stacklevel in warnings or filters don't work. Matthias Bussonnier 2017-04-21 16:41:40 -07:00
  • 3e05061f3b Remove old unused code. Dave Halter 2017-04-28 18:34:02 +02:00
  • ad536a837c A small change. Dave Halter 2017-04-28 18:29:35 +02:00
  • b328e727ea Remove Scope.walk, because it was never used. Dave Halter 2017-04-28 18:20:07 +02:00
  • eaa5100372 Removed Scope.statements from the parser tree. Dave Halter 2017-04-28 18:18:37 +02:00
  • 307adc2026 Scope.flows is never used so remove it. Dave Halter 2017-04-28 00:23:47 +02:00
  • 3cf4c66112 Change some more docstring stuff. Dave Halter 2017-04-28 00:23:28 +02:00
  • bc4c5fafb7 Start creating documentation for the parser. Dave Halter 2017-04-27 21:50:31 +02:00
  • 02a8443541 search_ancestor docstring Dave Halter 2017-04-27 21:47:39 +02:00
  • a846e687c3 Move search_ancestor to jedi.parser.tree. Dave Halter 2017-04-27 21:41:24 +02:00
  • 338ea42ed9 docstrings: fix "Sphinx param with type" pattern (#807) Simon Ruggier 2017-04-27 14:05:48 -04:00
  • 800bf4bbe2 _NodeOrLeaf -> NodeOrLeaf. Dave Halter 2017-04-27 19:59:30 +02:00
  • e8cfb99ada Fix a docs issue. Dave Halter 2017-04-27 19:59:09 +02:00
  • 8bd41ee887 Better documentation of get_code. Dave Halter 2017-04-27 19:48:00 +02:00
  • e8718c6ce5 Docs for IPython completion which depends now on Jedi. Dave Halter 2017-04-27 19:29:32 +02:00
  • 0474854037 More docstrings of a few _BaseOrLeaf methods/properties. Dave Halter 2017-04-27 17:39:46 +02:00
  • e998a18d8e More docstrings. Dave Halter 2017-04-27 09:14:23 +02:00
  • 819e9f607e Move get_following_comment_same_line out of the parser tree. Dave Halter 2017-04-27 08:56:11 +02:00
  • cc4681ec54 Merge branch 'dev' of github.com:davidhalter/jedi into dev Dave Halter 2017-04-26 18:45:33 +02:00
  • e8b32e358b Remove 'move' from the parser tree. Dave Halter 2017-04-26 18:45:18 +02:00
  • dea09b096d Some docstrings for the parser. Dave Halter 2017-04-26 18:16:50 +02:00
  • c124fc91ca Remove further clean_scope_docstring usages. Dave Halter 2017-04-26 09:52:18 +02:00
  • bea28fd33f Give ExecutionParams a better way of knowing what called them. Dave Halter 2017-04-26 09:32:47 +02:00
  • b0f10081d4 Fix : Jedi do not complete numpy arrays in dictionary Matthias Bussonnier 2017-04-20 11:53:19 -07:00
  • f136745a8a follow_param -> infer_param. Dave Halter 2017-04-20 18:09:00 +02:00
  • ea1905f121 Refactor the docstring input. Dave Halter 2017-04-20 18:06:40 +02:00
  • fbde21166b find_return_types -> infer_return_types. Dave Halter 2017-04-20 09:56:16 +02:00