Commit Graph

5280 Commits

Author SHA1 Message Date
Dave Halter 16b463a646 Refactor to avoid having unicode decode errors by default 2018-01-19 19:23:11 +01:00
Dave Halter c1394a82b5 Better error reporting, see #944 2018-01-18 19:12:32 +01:00
Dave Halter 609f59ce41 Fix issues with random tuples in TreeArgument.
Thanks @micbou for noticing it.
https://github.com/davidhalter/jedi/commit/b92c7d3351a34052237df4a292ec81ef97647e7f
2018-01-18 09:54:19 +01:00
Dave Halter b92c7d3351 Some cleaning up of code 2018-01-13 18:59:03 +01:00
micbou 3a0ac37ee8 Fix error when using generators with variable-length arguments 2018-01-13 18:56:34 +01:00
Dave Halter d815470e54 Remove the copyright notice from docs 2018-01-09 23:29:39 +01:00
Dave Halter 598ea1b89b Add Python 2.6 removal to changelog. Refs #1018 2018-01-07 14:39:08 +01:00
Dave Halter cc460a7126 Merge branch 'master' into rm-2.6 2018-01-07 14:32:47 +01:00
Dave Halter 4e52acbf26 Using setup.py build should not include part of tests
It looks like that we have to not only exclude the test package but also 'test.*'. Thanks to @david-geiger for noticing this. Fixes #1024.
2018-01-07 14:13:40 +01:00
Hugo 73c71d6475 This test will be removed in the virtualenv branch 2018-01-07 10:40:36 +02:00
Hugo 7e449af4bd Revert changes to test/completion and test/static_analysis except for 2.6 comment removal 2018-01-07 10:40:36 +02:00
Hugo 3e8cd9f128 Use set literals 2018-01-07 10:40:36 +02:00
Hugo 3644c72efe Add version badges, use SVG badges, fix typos 2018-01-07 10:40:36 +02:00
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