This website requires JavaScript.
cc8a3f192d
Removed settings.no_completion_duplicates
Dave Halter
2020-01-23 23:16:02 +01:00
0c56aa4d4b
Make sure to stop gathering buildout paths at a certain point, fixes #1325
Dave Halter
2020-01-22 23:31:27 +01:00
6a75a0c590
Rewrite some whitespace
Dave Halter
2020-01-22 23:13:19 +01:00
8440e1719f
Unuseful changes are rolled back.
ANtlord
2020-01-22 20:57:17 +02:00
ddcd48edd8
Typeshed submodule checked out to d386452
ANtlord
2020-01-22 20:55:25 +02:00
7e98c9449b
Reformat the changelog a bit
Dave Halter
2020-01-22 18:31:24 +01:00
dbdd556a2b
Add follow_imports to Definition.goto, fixes #1474
Dave Halter
2020-01-22 18:29:02 +01:00
9bc01da9c4
Fix conflicts.
ANtlord
2020-01-22 11:12:09 +02:00
5c68304bec
Raise a proper exception instead of assert in case only_stubs and prefer_stubs are given
Dave Halter
2020-01-22 09:59:53 +01:00
59e7bacfae
Make sure a certain test passes as well with tox
Dave Halter
2020-01-22 01:29:56 +01:00
318fab8682
Fix a Python 2 issue
Dave Halter
2020-01-22 01:25:21 +01:00
bff6e95e28
Rename Script.names to Script.get_names, fixes #1476
Dave Halter
2020-01-22 01:22:46 +01:00
8cc836e816
find_signatures -> get_signatures, see #1476
Dave Halter
2020-01-22 01:10:38 +01:00
58f54d8391
find_references -> get_references, see #1476
Dave Halter
2020-01-22 01:06:37 +01:00
9d7858eb3a
Fix remaining tests
Dave Halter
2020-01-22 00:36:30 +01:00
6df755e8b6
Reduce limits of files to parse by quite a bit
Dave Halter
2020-01-21 22:51:57 +01:00
2a86f7d82f
Django-plugin related code is removed from stdlib-plugin.
ANtlord
2020-01-21 21:21:43 +02:00
7287d67e7a
Functions infers type of Django model field is refactored.
ANtlord
2020-01-21 21:12:38 +02:00
44ba40958e
Make sure that CompiledObject doesn't have a file_io
Dave Halter
2020-01-21 18:29:40 +01:00
d9960081f5
Use different limits for references and dynamic calls
Dave Halter
2020-01-21 09:22:16 +01:00
c12cbf2106
Explain why the references limits were chosen
Dave Halter
2020-01-20 17:24:21 +01:00
6e10313cca
Start limiting opened files and parsed files for references
Dave Halter
2020-01-20 17:13:22 +01:00
28027a3fee
Remove a few imports
Dave Halter
2020-01-20 16:59:22 +01:00
a246624f70
Make sure to not scan the same directory multiple times
Dave Halter
2020-01-20 10:33:37 +01:00
621bd7d1db
Don't search for usages when we are working with params
Dave Halter
2020-01-20 02:14:46 +01:00
445dc2411e
Ignore .gitignore in get_references and therefore make get_references usable again
Dave Halter
2020-01-20 02:03:58 +01:00
ed36efabeb
Revisit reference finding, scan a lot of folders
Dave Halter
2020-01-20 01:43:51 +01:00
62a77dcd16
Added FolderIO.walk and FolderIO.get_base_name
Dave Halter
2020-01-20 00:36:18 +01:00
c61ca0d27b
Infering of django model fields is moved to a dedicated module.
ANtlord
2020-01-19 18:46:28 +02:00
26f0fa9eb0
Move get_module_contexts_containing_name to the references module
Dave Halter
2020-01-17 22:49:05 +01:00
4cd2b9a355
Apparently this one variable is needed
Dave Halter
2020-01-17 02:15:06 +01:00
eb103d293c
Small changelog fix
Dave Halter
2020-01-17 02:03:42 +01:00
4931180df1
Forgot to use sudo for installing dependencies in travis
Dave Halter
2020-01-17 01:43:23 +01:00
2937c95e9e
Another few travis fixes
Dave Halter
2020-01-17 01:28:00 +01:00
f53b08516d
Don't run some usage tests on Python 2
Dave Halter
2020-01-17 01:26:40 +01:00
c6ca889927
Interpreter test fix for travis config
Dave Halter
2020-01-17 00:36:09 +01:00
a6dfc130c9
Foreign key is handled.
ANtlord
2020-01-16 15:40:45 +02:00
3645ea0557
Add a few more stub usage tests
Dave Halter
2020-01-15 00:30:31 +01:00
df7080c1da
Disable flow analysis for finding usages
Dave Halter
2020-01-14 18:37:10 +01:00
a098bf28af
Add another stub usage test
Dave Halter
2020-01-14 01:29:37 +01:00
8bcd1f5fd9
Fix stub conversion
Dave Halter
2020-01-14 01:08:26 +01:00
e1564da23d
Make sure to find both stubs and non-stubs with usages
Dave Halter
2020-01-13 20:45:53 +01:00
9c1063c35a
Use the proper fixture
Dave Halter
2020-01-12 23:58:49 +01:00
c3503672d5
Implement interpreter test on travis
Dave Halter
2020-01-12 20:51:40 +01:00
c56dae4835
Get interpreter environment tests working
Dave Halter
2020-01-12 20:19:33 +01:00
591e3c4565
Make sure tests are proper packages, so that pytest doesn't do shenannigans with sys path
Dave Halter
2020-01-12 19:58:29 +01:00
4fb595f422
Remove NestedImportModule, because it hasn't been used in years
Dave Halter
2020-01-12 13:42:50 +01:00
11a12d6ca8
Refactor execute_operation a bit
Dave Halter
2020-01-12 13:01:08 +01:00
bd2ed8dbbd
Finally get rid of call_of_leaf
Dave Halter
2020-01-12 03:04:09 +01:00
a17d4d9e16
Refactor the isinstance checks a bit
Dave Halter
2020-01-12 02:00:27 +01:00
700dd9380a
Makes sure examples are excluded from pytest
Dave Halter
2020-01-12 01:22:12 +01:00
4f6116ac6e
speed test to examples
Dave Halter
2020-01-12 01:21:26 +01:00
cc34c7d4f3
Move not_in_sys_path tests to examples
Dave Halter
2020-01-12 00:55:01 +01:00
796a2b4df5
Move namespace tests to examples
Dave Halter
2020-01-12 00:51:27 +01:00
f3919823fb
Moved zipped imports test files
Dave Halter
2020-01-12 00:43:27 +01:00
46f8e53e71
Move sample_venvs to examples
Dave Halter
2020-01-12 00:30:05 +01:00
8dc7f2d899
Move the extension test to examples
Dave Halter
2020-01-12 00:26:01 +01:00
c79269b3ee
Move another test to examples
Dave Halter
2020-01-12 00:09:48 +01:00
1e27491545
Remove unused test code
Dave Halter
2020-01-12 00:07:22 +01:00
f31c90926e
Move implicit namespace package code to example dir
Dave Halter
2020-01-11 22:25:12 +01:00
8459b02a98
Move flask tests to examples folder
Dave Halter
2020-01-11 22:01:33 +01:00
ba6154c314
Move the absolute import test files
Dave Halter
2020-01-11 21:59:21 +01:00
095f1295af
Avoid a bug that a compiler might have found, fixes #1469
Dave Halter
2020-01-11 21:35:18 +01:00
4f56ec5daf
Make sure the latest changes work with Python 3.6/3.7
Dave Halter
2020-01-10 15:14:22 +01:00
3ba68b5bc6
Properly convert compiled values to generic classes
Dave Halter
2020-01-10 15:07:11 +01:00
cac73f2d44
Make Union/Optional works with compiled objects
Dave Halter
2020-01-10 13:34:10 +01:00
ba7776c0d9
Make sure that CompiledValue can deal with string annotations
Dave Halter
2020-01-10 12:39:40 +01:00
072d506302
Avoid a few warnings
Dave Halter
2020-01-10 11:59:11 +01:00
76a4820926
Skip a test that doesn't work in Python 2
Dave Halter
2020-01-10 10:30:53 +01:00
10c5990614
Remove a statement that didn't make sense
Dave Halter
2020-01-07 22:20:36 +01:00
a0536bd854
Remove a method that was not necessary
Dave Halter
2020-01-07 18:42:06 +01:00
800ab65701
Fix a bug where parent_context was a value
Dave Halter
2020-01-07 11:12:06 +01:00
fdb5071bec
Fix some issues with converting names, see #1466
Dave Halter
2020-01-07 10:59:15 +01:00
a17b56f260
Use one single way to convert stubs to Python, see #1466
Dave Halter
2020-01-07 01:33:42 +01:00
9b9cacfbf9
Make sure to use _stub_to_python_value_set for all conversions, see #1466
Dave Halter
2020-01-07 01:27:50 +01:00
d8deceb4b1
Make sure fixture resolving works in conftest.py, see #791
Dave Halter
2020-01-06 23:27:25 +01:00
9c4cd40b7e
Fix signatures when used for Generic classes, fixes #1468
Dave Halter
2020-01-06 09:33:31 +01:00
4243d01560
Make sure inheritance works for fixtures, fixes #791
Dave Halter
2020-01-05 19:13:56 +01:00
5da9f9facd
Add a test to check if numpy tensorflow stuff is now cached, see #1116
Dave Halter
2020-01-05 18:29:02 +01:00
ea0972d7ac
Make sure to check the module cache before loading a module (again)
Dave Halter
2020-01-05 18:18:23 +01:00
bf446f2729
Add a completion cache for numpy/tensorflow, fixes #1116
Dave Halter
2020-01-05 13:51:49 +01:00
1cdeee6519
Ignore processing param names, fixes #520
Dave Halter
2020-01-05 02:35:27 +01:00
cc1664c69a
Avoid using params in tests and use get_signatures().params
Dave Halter
2020-01-05 02:09:22 +01:00
a7415be0ea
Make sure params have no name
Dave Halter
2020-01-05 01:55:29 +01:00
74fc29be9a
Make sure that kwargs are not repeated when they are inferred
Dave Halter
2020-01-05 01:48:10 +01:00
aca2a5a409
Undo finding signatures for everything and only do it for stubs and non-statements for when used in docstrings
Dave Halter
2020-01-04 16:00:07 +01:00
088fca2f8e
Fix an issue with the is_big_annoying_library function, see #520
Dave Halter
2020-01-04 13:33:06 +01:00
1813105b69
Make sure decorators are also not inferred for big annoying libraries, see #520
Dave Halter
2020-01-04 13:26:49 +01:00
e30385465c
Make sure the repr of compiled access isn't huge
Dave Halter
2020-01-04 13:08:14 +01:00
47d3aa73dc
Disable some features for big annoying libraries like pandas, tensorflow, see #520
Dave Halter
2020-01-04 02:39:36 +01:00
441ede2c7f
Fix a debug message
Dave Halter
2020-01-04 01:32:02 +01:00
dfc6ea8ce2
Fix a small issue
Dave Halter
2020-01-04 01:19:12 +01:00
673ea0c5a5
Little refactoring
Dave Halter
2020-01-03 10:38:00 +01:00
0e707d3824
Remove the old definition tests
Dave Halter
2020-01-03 00:59:17 +01:00
92a2e17a9e
Remove get_signatures again from names
Dave Halter
2020-01-03 00:54:13 +01:00
3b6bbab556
Infer doctests and signatures uniformly, fixes #1466
Dave Halter
2020-01-03 00:45:14 +01:00
2d31e2e760
Fix a small pytest fixture bug
Dave Halter
2020-01-03 00:03:32 +01:00
bac91652ea
Raise a deprecation warning on Definition.params
Dave Halter
2020-01-02 16:11:58 +01:00
67b720d939
Remove a weird assert
Dave Halter
2020-01-02 01:58:21 +01:00
ff96b052d0
Make sure coverage works again
Dave Halter
2020-01-02 01:28:30 +01:00