Dave Halter
47d0318fa6
Paths are the default for modules
2021-01-14 02:00:14 +01:00
Dave Halter
2a8b212af7
Move the module_injector
2021-01-14 01:35:18 +01:00
Dave Halter
44d77523b3
Fix a test that depended on correct cwd location an dnot having an x.py in a local directory
2021-01-10 16:31:37 +01:00
Dave Halter
6279791b24
Fix an issue with complete_search
2021-01-10 16:08:17 +01:00
Dave Halter
02d43caa5e
Fix a wrong test about references
2021-01-02 01:17:38 +01:00
Dave Halter
1ccc63e83d
Make py__iter__ work as well for Interpreter
2021-01-01 17:58:31 +01:00
Dave Halter
971913be35
Make it possible to use __getitem__ in interpreter
2021-01-01 15:57:55 +01:00
Dave Halter
d821451a64
Upgrade typeshed
2021-01-01 03:18:49 +01:00
Dave Halter
86d57edda4
Some Windows compatibility fixes
2020-12-26 11:52:47 +01:00
Dave Halter
b89f9445c2
Merge pull request #1684 from davidhalter/relative-import
...
Relative imports should work even if they are not within the project
2020-12-22 23:18:46 +01:00
Dave Halter
f9cec89038
Merge branch 'master' into deprecations
2020-12-12 12:17:25 +01:00
Dave Halter
bc4f6ed9dd
Merge branch 'master' into relative-import
2020-12-12 12:15:13 +01:00
Dave Halter
42a759a7ae
Merge pull request #1706 from ColdGrub1384/master
...
Catch 'PermissionError' for unreadable directories
2020-12-07 22:34:03 +01:00
Yoni Weill
1095820006
add tests for get_completion_prefix_length
2020-12-06 21:09:03 +02:00
Adrian Labbé
47e60107b2
Add tests for 'test_get_parent_dir_with_file' and 'test_is_potential_project'
2020-12-06 15:26:20 -03:00
Dave Halter
a5a36a049c
Fix an infer issue on literals after brackets, fixes #1657
2020-10-23 19:09:23 +02:00
Dave Halter
43ff2833f3
Make a test more reliable
2020-10-23 18:04:47 +02:00
Dave Halter
78e87d0ab8
Relative imports should work even if they are not within the project
2020-10-20 01:00:22 +02:00
Dave Halter
c1f4e7d874
One interpreter test is different for 3.9+
2020-09-19 21:27:55 +02:00
Dave Halter
f18493b627
Fix an interpreter test
2020-09-19 20:57:32 +02:00
Dave Halter
f12ed2088a
Use pathlib for file ios, because the new parso is out
2020-08-05 00:52:50 +02:00
Dave Halter
2f7d0ec42c
Project attributes are now read accessible
2020-08-01 18:26:26 +02:00
Peter Law
403564315c
Reflow test to ensure trailing space is preserved
...
Many editors strip trailing space, so avoid using a multiline
string where the space is actually needed.
2020-07-21 22:44:43 +01:00
Peter Law
5e6138d16f
Update to flake8 3.8.x
...
In particular this improves support for detecting usage of various
type annotation usages and adds support for correctly parsing
type: ignore comments which contain a reason tag.
2020-07-21 21:34:58 +01:00
Dave Halter
bb303a75c0
Fix a test
2020-07-20 23:58:46 +02:00
Dave Halter
401e8d3100
Fix issues with property searches
2020-07-20 01:40:25 +02:00
Dave Halter
784e965d3a
@property now returns Name.type == 'property', fixes muffinmad/anakin-language-server#15
2020-07-20 01:20:24 +02:00
Dave Halter
d9a90d5d5e
Remove a test that no longer made sense
2020-07-19 13:55:18 +02:00
Dave Halter
d78567f853
Fix a Python 3.9 issue on travis
2020-07-17 16:12:55 +02:00
Dave Halter
1ece7698c2
Merge branch 'master' into python3
2020-07-17 16:07:54 +02:00
Dave Halter
7851dff915
Properly negate with Interpreter, fixes #1636
2020-07-17 15:57:32 +02:00
Dave Halter
9957374508
Fix dict completions for inherited dicts, fixes #1631
2020-07-14 17:50:12 +02:00
Dave Halter
3ffe8475b8
Make sure the interpreter completions work better in Jupyter Notebook, fixes #1628
2020-07-12 22:20:06 +02:00
Dave Halter
396d7df314
Fix an issue with interpreter completion, see also #1628
2020-07-12 22:02:00 +02:00
Dave Halter
480a464179
Implement all remaining Path issues and use it instead of strings
2020-07-12 01:14:00 +02:00
Dave Halter
5ab351dc8f
Remove unicode literals from code base
2020-07-02 10:43:14 +02:00
Dave Halter
f1366b8a74
Remove the u() unicode function
2020-07-02 10:35:39 +02:00
Dave Halter
332631434c
Remove some unnecessary utf-8 references
2020-07-02 03:30:41 +02:00
Dave Halter
5a912de937
Remove a few unicode references in tests
2020-07-02 03:18:48 +02:00
Dave Halter
6e184bca97
Remove most version_info.major usages
2020-07-02 03:00:01 +02:00
Dave Halter
188fdcd34f
Remove the skip_python2 fixture
2020-07-02 02:52:24 +02:00
Dave Halter
f4e537fd72
Remove a lot of sys.version_info references
2020-07-02 02:49:35 +02:00
Dave Halter
db28eee760
Remove py__version__
2020-07-02 02:30:16 +02:00
Dave Halter
0cd6a8f5cc
Remove is_py3 and is_py35
2020-07-02 02:23:33 +02:00
Dave Halter
782c561e86
Fix the compatibility docstring
2020-07-02 02:03:34 +02:00
Dave Halter
9838040ca3
Fix a TODO
2020-07-02 01:56:23 +02:00
Dave Halter
227cf00638
Remove the __builtin__ compatibility
2020-07-02 01:15:29 +02:00
Dave Halter
3262ad4350
Remove the scandir compatibility
2020-07-02 00:38:44 +02:00
Dave Halter
7e295d05a1
Remove some more Python 2/3.5 references
2020-07-02 00:25:00 +02:00
Dave Halter
50b85153ce
Remove a lot of test references to Python 2/3.5
2020-07-02 00:17:21 +02:00