Dave Halter
|
6ae0efa415
|
Prepare the 0.8.0 release
|
2020-08-05 00:51:16 +02:00 |
|
Dave Halter
|
1714c1d0de
|
Make namedexpr_test a proper NamedExpr class
|
2020-08-05 00:26:16 +02:00 |
|
Dave Halter
|
6405a1227f
|
Merge pull request #146 from davidhalter/python3
Dropping Python <3.6
|
2020-07-26 13:30:32 +02:00 |
|
Dave Halter
|
cb7d15b332
|
Prepare the CHANGELOG
|
2020-07-26 13:19:41 +02:00 |
|
Dave Halter
|
0dec1a4003
|
Another review suggestion
|
2020-07-26 13:16:41 +02:00 |
|
Dave Halter
|
020d7a9acb
|
Use a better intersphinx mapping
|
2020-07-26 13:16:41 +02:00 |
|
Dave Halter
|
f79432ecab
|
Remove support for multiple languages, which was never used
|
2020-07-26 13:16:41 +02:00 |
|
Dave Halter
|
b0de7e363a
|
Don't use print if not necessary
|
2020-07-26 13:16:41 +02:00 |
|
 Dave HalterandBatuhan Taskaya
|
f6859538b0
|
Simplify a cache path
Co-authored-by: Batuhan Taskaya <batuhanosmantaskaya@gmail.com>
|
2020-07-26 13:03:58 +02:00 |
|
Dave Halter
|
ea6b01b968
|
Use pathlib.Path instead of strings
|
2020-07-26 01:19:41 +02:00 |
|
Dave Halter
|
97c10facf7
|
Remove super arguments
|
2020-07-25 23:54:21 +02:00 |
|
Dave Halter
|
dcc756a373
|
Remove object inheritance
|
2020-07-25 18:20:56 +02:00 |
|
Dave Halter
|
3c3c0b54dc
|
Fix some remaining flake8 issues
|
2020-07-25 18:17:11 +02:00 |
|
Dave Halter
|
70ec8eecd1
|
Fix some last mypy issues
|
2020-07-25 18:16:01 +02:00 |
|
Dave Halter
|
d3c274afa0
|
Fix an issue with encoding detection
|
2020-07-25 18:11:49 +02:00 |
|
Dave Halter
|
6a4bb35d80
|
Removed stubs from generator and grammar_parser and put the annotations into the corresponding files
|
2020-07-25 18:09:12 +02:00 |
|
Dave Halter
|
ce0fac7630
|
Move grammar stubs into grammar.py
|
2020-07-25 17:48:01 +02:00 |
|
Dave Halter
|
395af26fa8
|
Removed parso/__init__.pyi
It is intentional that the parse function is not typed. It's just a
helper function. For a typed version of it, please have a look at
Grammar.parse.
|
2020-07-25 16:22:35 +02:00 |
|
Dave Halter
|
e65fb2464e
|
Remove utils.pyi in favor of inline stubs
|
2020-07-25 16:20:26 +02:00 |
|
Dave Halter
|
4d86f0fdcc
|
Remove the pgen2 stub, didn't really contain anything
|
2020-07-25 16:12:41 +02:00 |
|
Dave Halter
|
b816c00e77
|
Remove the token stub in favor of inline annotations
|
2020-07-25 16:12:04 +02:00 |
|
Dave Halter
|
2197e4c9e8
|
Fix a linter issue
|
2020-07-25 15:59:33 +02:00 |
|
Dave Halter
|
b176ed6eee
|
Run mypy and flake8 in CI
|
2020-07-25 15:54:55 +02:00 |
|
Dave Halter
|
67904f4d24
|
Make mypy happy
|
2020-07-25 15:43:28 +02:00 |
|
Dave Halter
|
8a34245239
|
Get rid of mypy issues with tokenize.py
|
2020-07-25 15:34:29 +02:00 |
|
Dave Halter
|
a474895764
|
Start working with mypy
|
2020-07-25 15:05:42 +02:00 |
|
Dave Halter
|
34152d29b2
|
Initializing a Grammar now uses keyword only arguments
|
2020-07-25 14:33:42 +02:00 |
|
Dave Halter
|
d9f60b3473
|
Remove compatibility in parser for Python 2
|
2020-07-25 02:38:46 +02:00 |
|
Dave Halter
|
75b467e681
|
Some more small Python 3 changes
|
2020-07-25 02:33:24 +02:00 |
|
Dave Halter
|
02eb9b9507
|
Use keyword only arguments in grammar.py
|
2020-07-25 02:21:51 +02:00 |
|
Dave Halter
|
f17f94e120
|
Get rid of the old star checking logic
|
2020-07-25 02:16:02 +02:00 |
|
Dave Halter
|
902885656d
|
Remove some Python 3.6 references
|
2020-07-25 02:10:10 +02:00 |
|
Dave Halter
|
4f9f193747
|
Remove some Python 3.5/3.4 references
|
2020-07-25 02:04:58 +02:00 |
|
Dave Halter
|
86d53add2d
|
Remove sys.version_info usages that are no longer necessary
|
2020-07-25 01:53:51 +02:00 |
|
Dave Halter
|
22fb62336e
|
Remove failing examples that are just Python 2 examples
|
2020-07-25 01:49:44 +02:00 |
|
Dave Halter
|
6eb6ac0bb2
|
Ignore Python 2 specific code in tests
|
2020-07-25 01:41:33 +02:00 |
|
Dave Halter
|
7c68ba4c45
|
Remove absolute import future import checking
|
2020-07-25 01:33:11 +02:00 |
|
Dave Halter
|
d7ab138864
|
Remove more python 2 specific code
|
2020-07-25 01:31:19 +02:00 |
|
Dave Halter
|
4c09583072
|
Remove Python 2 stuff from errors.py
|
2020-07-25 01:25:38 +02:00 |
|
Dave Halter
|
19f4550ced
|
Use enum instead of our own logic
|
2020-07-24 17:39:49 +02:00 |
|
Dave Halter
|
a0662b3b3b
|
flake8 changes
|
2020-07-24 16:11:06 +02:00 |
|
Dave Halter
|
2962517be0
|
Get rid of the xfails
|
2020-07-24 15:43:41 +02:00 |
|
Dave Halter
|
62b4589293
|
Remove tokenizer support for Python 2
|
2020-07-24 15:39:18 +02:00 |
|
Dave Halter
|
93e74efc01
|
Some whitespace changes
|
2020-07-24 14:50:01 +02:00 |
|
Dave Halter
|
b5e2e67a4d
|
Remove support for parsing Python 2
|
2020-07-24 14:48:02 +02:00 |
|
Dave Halter
|
5ac4bac368
|
Pin the precise 3.8 version
|
2020-07-24 02:29:18 +02:00 |
|
Dave Halter
|
5dd4301235
|
Remove tox
|
2020-07-24 02:25:11 +02:00 |
|
Dave Halter
|
1a99fdd333
|
Don't run older Python versions on travis
|
2020-07-24 02:15:44 +02:00 |
|
Dave Halter
|
9c5fb1ac94
|
Fix the tokenizer
|
2020-07-24 02:14:52 +02:00 |
|
Dave Halter
|
7780cc1c1b
|
Get rid of some Python 2 idiosyncrasies
|
2020-07-24 02:09:04 +02:00 |
|
Dave Halter
|
561f434f39
|
Use yield from where possible
|
2020-07-24 02:01:48 +02:00 |
|
Dave Halter
|
a1829ecc7f
|
Remove the unicode compatibility function
|
2020-07-24 01:51:36 +02:00 |
|
Dave Halter
|
21f782dc34
|
Fix the tests
|
2020-07-24 01:45:31 +02:00 |
|
Dave Halter
|
164489cf97
|
Remove the u function and u literals
|
2020-07-24 01:39:03 +02:00 |
|
Dave Halter
|
020b2861df
|
Remove some weird code
|
2020-07-24 01:33:34 +02:00 |
|
Dave Halter
|
44c0395113
|
Remove use_metaclass, it's no longer used
|
2020-07-24 01:31:52 +02:00 |
|
Dave Halter
|
a2fc850dc9
|
Remove scandir compatibility
|
2020-07-24 01:28:40 +02:00 |
|
Dave Halter
|
be5429c02c
|
Remove utf8_repr from _compatibility.py
|
2020-07-24 01:26:36 +02:00 |
|
Dave Halter
|
736f616787
|
Remove FileNotFoundError and PermissionError from _compatibility.py
|
2020-07-24 01:24:59 +02:00 |
|
Dave Halter
|
b601ade90b
|
Drop Python 2.7, 3.4 and 3.5
|
2020-07-24 01:21:44 +02:00 |
|
Dave Halter
|
3b263f0a0d
|
Fix a failing test
|
2020-07-24 01:01:23 +02:00 |
|
Dave Halter
|
f52103f236
|
Prepare 0.7.1 release
|
2020-07-24 00:54:07 +02:00 |
|
Dave Halter
|
c53321a440
|
Comprehensions are not valid as class params, fixes #122
|
2020-07-24 00:32:24 +02:00 |
|
Dave Halter
|
d8a70abf19
|
Merge pull request #145 from PeterJCLaw/expose-type-stubs
Let consumers know that we have type annotations
|
2020-07-21 23:42:01 +02:00 |
|
Dave Halter
|
1e4076f9d9
|
Merge pull request #141 from isidentical/f-string-errors
Handle 3.9>= f-string errors
|
2020-06-29 00:03:57 +02:00 |
|
Dave Halter
|
7e0586b0b9
|
Add a PyPI downloads badge
|
2020-06-27 15:18:27 +02:00 |
|
Dave Halter
|
cc347b1d3b
|
Merge pull request #137 from isidentical/cannot-delete-starred
Update starred deletion messages for 3.9+
|
2020-06-22 00:15:01 +02:00 |
|
Dave Halter
|
d68b4e0cab
|
Use Python 3 in deployment script
|
2020-06-20 01:21:35 +02:00 |
|
Dave Halter
|
d55b4f08dc
|
Merge pull request #136 from davidhalter/permission_errors
Ignore permission errors when saving to cache
|
2020-06-19 20:27:59 +02:00 |
|
Dave Halter
|
58790c119e
|
Fix issues of #136
|
2020-06-19 20:20:00 +02:00 |
|
Dave Halter
|
3923ecf12f
|
Ignore permission errors when saving to cache
This might happen when a user doesn't have full access to his home directory.
Fixes davidhalter/jedi#1615
|
2020-06-19 12:06:46 +02:00 |
|
Dave Halter
|
bd33e4ef7e
|
Merge pull request #135 from isidentical/starred-expr
Improve handling of starred expression on different contexts
|
2020-06-05 12:58:14 +02:00 |
|
Dave Halter
|
450e9d0a19
|
Merge pull request #130 from yuan-xy/patch-1
fix dump_nfa
|
2020-05-30 12:11:08 +02:00 |
|
Dave Halter
|
d6b1d19d87
|
Merge pull request #129 from isidentical/extended-rhs-for-annassign
Extend annotated assignment rule's RHS
|
2020-05-26 00:13:46 +02:00 |
|
Dave Halter
|
846513584e
|
Merge pull request #119 from isidentical/check-all-args
Check all arguments for unparenthesized generator expressions
|
2020-05-23 23:18:00 +02:00 |
|
Dave Halter
|
6ecd975516
|
Merge pull request #117 from isidentical/repeated-kwarg-39
Show which keyword argument is repeated on 3.9+
|
2020-05-23 15:15:14 +02:00 |
|
Dave Halter
|
8bb211fafb
|
Merge pull request #116 from isidentical/forbidden-name
Raise violation on starred expressions where the child is a boolean/none
|
2020-05-23 11:51:08 +02:00 |
|
Dave Halter
|
00621977b7
|
Merge pull request #115 from isidentical/finally-in-continue
Support finally in continue on 3.8+
|
2020-05-22 23:44:26 +02:00 |
|
Dave Halter
|
a3f851d8f6
|
Merge pull request #114 from isidentical/future-annotations
Add support for 'from __future__ import annotations'
|
2020-05-22 16:18:53 +02:00 |
|
Dave Halter
|
1b4c75608a
|
Fix a python_bytes_to_unicode issue, fixes #107
|
2020-05-14 23:34:14 +02:00 |
|
Dave Halter
|
15403fd998
|
Use a Windows cache folder change from Jedi
See also 1115cbd94dcae6fb7b215c51f0407333c92c956e in Jedi and the PR in davidhalter/jedi#1575
|
2020-05-10 11:50:00 +02:00 |
|
Dave Halter
|
b9725364ab
|
Add a lot of comment to the diff parser
|
2020-04-13 11:46:36 +02:00 |
|
Dave Halter
|
66ecc264f9
|
Write 0.7.0 release notes
|
2020-04-13 11:15:05 +02:00 |
|
Dave Halter
|
63b73a05e6
|
Diff parser: Take care of one line function error recovery with decorator
|
2020-04-13 11:07:37 +02:00 |
|
Dave Halter
|
baec4ac58f
|
Diff parser: Take care of one line function error recovery
|
2020-04-12 02:47:46 +02:00 |
|
Dave Halter
|
b5f58ac33c
|
Ignore some slow files for the fuzzer
|
2020-04-12 01:14:24 +02:00 |
|
Dave Halter
|
83cb71f7a1
|
The fuzzer now tries to reuse previous modfiications as well sometimes
|
2020-04-11 23:29:00 +02:00 |
|
Dave Halter
|
30a2b2f40d
|
Fix an error case with prefixes
|
2020-04-11 22:51:17 +02:00 |
|
Dave Halter
|
d81e393c0c
|
Fix indentation issues with backslashes and def error recovery
|
2020-04-10 21:48:28 +02:00 |
|
Dave Halter
|
7822f8be84
|
Python 2 compatibility
|
2020-04-09 22:47:50 +02:00 |
|
Dave Halter
|
93788a3e09
|
Add a test for the diff parser that xfails
|
2020-04-09 00:03:39 +02:00 |
|
Dave Halter
|
085f666ca1
|
Add more tokens that can break parens to tokenizer
|
2020-04-08 23:24:30 +02:00 |
|
Dave Halter
|
9e546e42de
|
Diff parser: Fix another byte order mark issue
|
2020-04-07 22:58:47 +02:00 |
|
Dave Halter
|
7b14a86e0a
|
Fix tokenizer error tokens
|
2020-04-07 09:55:28 +02:00 |
|
Dave Halter
|
f45941226f
|
Diff parser: Fix other BOM issues
|
2020-04-07 01:06:03 +02:00 |
|
Dave Halter
|
e04552b14a
|
Fix tests for Python 2
|
2020-04-06 23:52:29 +02:00 |
|
Dave Halter
|
cd9c213a62
|
Fix fstring issues when error leaves are involved
|
2020-04-06 23:34:27 +02:00 |
|
Dave Halter
|
561e81df00
|
Replace non utf8 errors properly in diff fuzzer
|
2020-04-06 02:04:48 +02:00 |
|
Dave Halter
|
556ce86cde
|
Tokenizer: It should not be possible to break out of backslashes on the next line, even if it was an error
|
2020-04-06 01:25:06 +02:00 |
|
Dave Halter
|
b12dd498bb
|
Diff parser: Fix BOM with indentation issues
|
2020-04-05 20:47:49 +02:00 |
|