Commit Graph

5267 Commits

Author SHA1 Message Date
Hugo abe0f27e6a Add python_requires to help pip 2018-01-07 10:40:06 +02:00
Hugo f56035182c Remove trailing semicolons 2018-01-07 10:40:06 +02:00
Hugo cc623218e5 Replace function call with set literal 2018-01-07 10:40:06 +02:00
Hugo 5755fcb900 Replace comparison with None with equality operator 2018-01-07 10:40:06 +02:00
Hugo 8cf708d0d4 Remove redundant parentheses 2018-01-07 10:40:06 +02:00
Hugo a7ac647498 Remove redundant character escape 2018-01-07 10:40:06 +02:00
Hugo 7821203d8e Use automatic formatters 2018-01-07 10:40:05 +02:00
Hugo 7c31ea9042 Drop support for EOL Python 2.6 2018-01-07 10:40:05 +02:00
Hugo 0334918d73 Ignore IDE metadata 2018-01-07 10:40:05 +02:00
MohamedAlFahim ad5ac8c492 Made 'l' a string + added warning
One of the helper methods is missing, so be extra careful.
2018-01-05 22:49:47 +01:00
MohamedAlFahim 03961bf051 Fixed refactoring.py docstring mistake
Updated parameters in docstring
2018-01-05 22:42:29 +01:00
Hugo 4199ac1a6f http -> https 2018-01-05 11:39:42 +01:00
Daniel Hahler adace8d7cb sys_path_with_modifications: append local file
This fixes "goto" preferring a local module instead of a global one.

Fixes https://github.com/davidhalter/jedi/issues/995.
2017-12-19 20:51:20 +01:00
Dave Halter f37089e54b Bump the version number 2017-12-15 10:47:14 +01:00
Dave Halter 69237c4aa6 Add a changelog for jedi 0.11.1 2017-12-15 10:45:27 +01:00
Dave Halter 02f238ce08 Add the executable bit to deploy-master.sh v0.11.1 2017-12-14 22:51:02 +01:00
Dave Halter e526cb1ae3 Don't run Python 2.6 in tox by default
Python 2.6 seems to be harder and harder to run in tox if setuptools is not properly configured for it.
It's still possible to run it and it still runs on travis.
2017-12-14 22:50:13 +01:00
Daniel Hahler e621e8590c Improve IntegrationTestCase.__repr__
Having the path (together with the line only) makes it easy to go to the
actual test.
2017-12-14 22:44:24 +01:00
Dave Halter 62915686af Don't use pytest 3.3+ because it removed support for Python 3.3 2017-12-14 22:29:13 +01:00
Dave Halter 6ee361864c Merge branch 'master' of github.com:davidhalter/jedi 2017-11-06 19:32:31 +01:00
Thomas A Caswell 22c97b0917 FIX: install on python 3.7 (#971)
* FIX: install on python 3.7

https://github.com/python/cpython/pull/46 /
https://bugs.python.org/issue29463 move the module comment into the
AST node and hence out of the tree which means the 2nd entry in the
tree is now the import rather than the `__version__` string.

Adds nightly on travis.

* BLD: update python tags in setup.py

* CI: switch to 3.7-dev

* CI: allow failure on 3.7 dev
2017-11-06 19:29:06 +01:00
Dave Halter 6c355a0ac2 Update version 2017-11-05 15:07:06 +01:00
Dave Halter e783611030 Merge branch 'master' of github.com:davidhalter/jedi 2017-11-05 15:05:22 +01:00
Dave Halter fc0397732e Update the parso dependency 2017-11-05 15:05:09 +01:00
Samuel Bishop 9cbcf00aa2 Fix dead link.
Hopefully this is close enough to the original video.
2017-11-03 17:52:22 +01:00
Dave Halter baafea4a90 Remove unused code 2017-11-01 19:14:54 +01:00
langsamer 1428b67c4d Replace TODO by explanation of the parameter 'cut_own_trailer'
(it cannot be dropped!) (#978)
2017-10-29 02:00:28 +02:00
Robin Roth f13b4e800a Install docopt for dev setup 2017-10-28 14:36:16 +02:00
Robin Roth 88cf592c95 Make goto work with await
Created together with @langsamer and @davidhalter
2017-10-28 14:10:05 +02:00
Dave Halter 752b7d8d49 One more usages test. 2017-10-15 21:11:49 +02:00
Dave Halter 2b138b3150 Usages fix for more complex situations 2017-10-09 21:09:04 +02:00
Dave Halter 06004ad2f5 Some minor refactorings. 2017-10-09 20:32:28 +02:00
Dave Halter 8658ac5c28 Using additional_dynamic_modules sometimes led to weird behavior of using modules twice. 2017-10-09 20:28:39 +02:00
Dave Halter bedff46735 Simplify usages. It should also work way better, now. 2017-10-08 20:13:24 +02:00
Dave Halter 4ddf7bf56d Remove the disabling of dynamic flow information
We should be able to handle this anyway also in completions. Don't hide issues here.
2017-10-07 10:52:43 +02:00
Dave Halter 8dba08eeb2 Small sys path refactoring. 2017-10-06 09:01:15 +02:00
Dave Halter 21531abd1e Fix a small test error 2017-10-05 20:43:31 +02:00
Dave Halter 7019ca643e Remove a possible security issue
sys paths are not executed anymore and use static analysis now.
2017-10-05 19:57:50 +02:00
Dave Halter aa8a6d2482 Move a function around 2017-10-05 18:49:12 +02:00
Dave Halter 28dea46bed Better English 2017-10-05 18:35:17 +02:00
Dave Halter 2b30c6fee4 Remove documentation about caveats that are not realy 100% true anymore. 2017-10-05 18:33:02 +02:00
Dave Halter 51d2ffb078 Use sys path mostly from project and move some sys path stuff around. 2017-10-05 10:06:28 +02:00
Dave Halter 383f749026 Move the initial sys path generation into a new project class. 2017-10-02 20:19:55 +02:00
Dave Halter 0762c9218c Move arguments to a separate module. 2017-10-01 13:29:28 +02:00
Dave Halter b6bb251c96 Common instance objects are now directly accessible 2017-09-30 18:19:25 +02:00
Dave Halter 604ca65a9b Directly importing FunctionContext. 2017-09-30 18:11:15 +02:00
Dave Halter 39b24ff2df Move lazy contexts to a separate module not in contexts 2017-09-30 18:02:02 +02:00
Dave Halter 16011a91af Move iterable to context/iterable. 2017-09-30 17:41:21 +02:00
Dave Halter 06b2857974 Import simplification. 2017-09-30 17:26:20 +02:00
Dave Halter f733e07045 AbstractSequence -> AbstractIterable. 2017-09-30 17:23:15 +02:00