1
0
forked from VimPlug/jedi
Commit Graph

48 Commits

Author SHA1 Message Date
Dave Halter 30ef824abd Introduce some stricter typing 2026-02-04 01:19:14 +01:00
Peter Law 664b10a5c6 Update mypy to the latest
This includes updating the ignore comments for things which mypy
now knows about or now complains about, as well as pulling in some
typeshed packages for things outside the standard library.
2023-02-13 19:40:16 +00:00
Peter Law 38f853cf86 Add ignores for stdlib imports only recently added 2020-07-24 21:06:30 +01:00
Peter Law 48e5aa777b Annotate potentially missing import 2020-07-24 20:25:55 +01:00
Peter Law 480c352d33 Python 3.6 embeddable doesn't have pydoc_data
This reinstates the import check for pydoc_data for now.

Specifically I looked in the following:
- python-3.6.8-embed-amd64.zip: missing pydoc_data
- python-3.7.8-embed-amd64.zip: present
- python-3.8.5-embed-amd64.zip: present
2020-07-24 16:07:48 +01:00
Dave Halter 5ab351dc8f Remove unicode literals from code base 2020-07-02 10:43:14 +02:00
Dave Halter 8ee0c8593e Remove unicode usages 2020-07-02 03:26:22 +02:00
Dave Halter 17343bb57c Remove some more Python 3.5 references 2020-07-02 02:18:16 +02:00
Dave Halter 0a53ce5136 Separate getting docstrings and getting signatures for names, see discussion #1466 2020-01-01 23:05:06 +01:00
Dave Halter 66ad620692 Get rid of a lot of flake8 errors 2020-01-01 02:42:31 +01:00
Dave Halter fcede44c2a Move the docstring checking code to the names 2019-12-21 20:06:37 +01:00
Dave Halter 03920502c4 infer_state -> inference_state 2019-08-16 11:44:30 +02:00
Dave Halter 9986d8c9aa Context -> Value 2019-08-15 01:26:11 +02:00
Dave Halter a5dff65142 Evaluator -> InferState 2019-08-15 00:37:51 +02:00
Dave Halter 3b4f292464 Move the evaluate package to inference 2019-08-15 00:14:26 +02:00
Dave Halter e008a515e3 Fix a few more file name completion cases 2019-08-04 22:43:23 +02:00
Dave Halter fd1e6afd07 A first iteration for file path completions 2019-08-04 13:50:23 +02:00
Dave Halter 0e5b17be85 Tests and fixes for keyword completions 2019-05-29 01:26:38 +02:00
Dave Halter 895eae1d54 Move all Name classes to a separate file 2019-05-07 00:30:16 +02:00
Dave Halter f71d6883d9 Fixed signatures for keywords 2019-05-05 19:25:00 +02:00
Dave Halter 2cb1bd162f Better signature support for docstrings 2019-05-05 19:09:21 +02:00
Dave Halter a7168db1ea Remove unused keyword code 2017-12-26 14:13:56 +01:00
Dave Halter 5a06ea2699 Start using a lot more unicode literals for Python 2 2017-12-24 03:11:28 +01:00
Dave Halter 3a7bc92863 Use builtins_module instead of BUILTINS 2017-12-10 18:52:51 +01:00
Dave Halter a433ee7a7e Move common to evaluate.utils. 2017-09-20 20:33:01 +02:00
Dave Halter 882f8029ea Use split_lines and python_bytes_to_unicode directly. 2017-09-03 18:38:00 +02:00
micbou f5248250d8 Fix keyword docstring 2017-07-14 00:22:27 +02:00
Dave Halter 9bca3d39f5 Actually use parso now instead of Jedi. 2017-05-19 14:20:14 -04:00
Dave Halter 4573ab19f4 Separate the python syntax tree stuff from the non python stuff. 2017-03-16 19:54:08 +01:00
Dave Halter 448bfd0992 Move the python parser tree. 2017-03-16 17:20:32 +01:00
Dave Halter 445bf6c419 Get rid of get_parent_until. 2017-02-03 09:59:32 +01:00
Matthias Bussonnier d3e8a9bd52 Resolve kewords types as keyword in completions
Closes #833
2017-01-22 18:39:32 -08:00
Dave Halter 5b9e5f96aa Merge with master. 2017-01-02 13:05:45 +01:00
Dave Halter 05581714d9 Fix goto tests. 2016-11-17 23:28:47 +01:00
Dave Halter e34246eb00 Fix __call__. 2016-10-24 00:39:59 +02:00
Dave Halter 2e6603cc2e A lot of small improvements. 2016-10-22 17:40:42 +02:00
Uvview e08209f35e For Py3.5 embeddable, which misses pydoc_data module 2016-09-17 03:47:56 +04:00
Dave Halter 689284c615 Refactor Evaluator.wrap to use the types in a more consequent way. 2016-06-29 21:06:35 +02:00
Claude d5f08f8bdd opting for skipping PEP492 backwards compatibility magic, instead directly making await and async keywords
See discussion at
https://github.com/davidhalter/jedi/pull/691#issuecomment-182815864
2016-02-11 19:30:01 +01:00
Dave Halter 7141158484 Merge master into linter. 2015-12-15 12:28:38 +01:00
Dave Halter bef5fca516 Refactor compiled.CompiledObject so it always owns an evaluator instance. 2015-12-08 02:19:33 +01:00
Sid Shanker 258d5aee4a Added support for correct continue & break autocompletion. 2015-05-16 14:55:04 -07:00
Dave Halter 03e01631cc Remove NamePart from existance and rename it to Name. 2014-09-26 16:29:53 +02:00
Dave Halter 8f892e3922 Use FakeName instead of a custom KeywordName. 2014-09-10 20:07:13 +02:00
Dave Halter 1fb9b4bc6b Completion now always takes a NamePart as input. 2014-09-10 18:59:08 +02:00
Dave Halter ece9fdf4ae Fixing most of the issues that existed, because of the recent Name.get_definition/Call.name.parent change. 2014-09-06 13:02:52 +02:00
Dave Halter 99882724da is_py3k -> is_py3 2014-01-14 11:43:56 +01:00
Dave Halter 157f76a55d keywords should be part of the api package 2014-01-13 14:24:34 +01:00