Commit Graph

  • fe54800cdd Check all arguments for unparenthesized generator expressions Batuhan Taskaya 2020-05-23 16:44:24 +03:00
  • 6ecd975516 Merge pull request #117 from isidentical/repeated-kwarg-39 Dave Halter 2020-05-23 15:15:14 +02:00
  • 27a7c16803 assert full message #117 Batuhan Taskaya 2020-05-23 15:51:00 +03:00
  • a06521d912 Don't give syntax errors for parenthesised kwargs <3.8 Batuhan Taskaya 2020-05-23 14:35:36 +03:00
  • 216a77dce5 Show which keyword argument is repeated on 3.9+ Batuhan Taskaya 2020-05-23 14:06:24 +03:00
  • 8bb211fafb Merge pull request #116 from isidentical/forbidden-name Dave Halter 2020-05-23 11:51:08 +02:00
  • 342e308f57 Move checking to the _CheckAssignmentRule #116 Batuhan Taskaya 2020-05-23 01:18:23 +03:00
  • 8f46481aaf Raise violation on starred expressions where the child is a boolean/none Batuhan Taskaya 2020-05-22 19:52:22 +03:00
  • 00621977b7 Merge pull request #115 from isidentical/finally-in-continue Dave Halter 2020-05-22 23:44:26 +02:00
  • 077e34be84 Support finally in continue on 3.8+ #115 Batuhan Taskaya 2020-05-22 18:32:24 +03:00
  • a3f851d8f6 Merge pull request #114 from isidentical/future-annotations Dave Halter 2020-05-22 16:18:53 +02:00
  • 261132e74c Add support for 'from __future__ import annotations' #114 Batuhan Taskaya 2020-05-22 17:07:55 +03:00
  • 345374d040 Allow 'any' expression on decorators, PEP 614 Batuhan Taskaya 2020-05-22 02:56:20 +03:00
  • f8709852e3 Adapt Python3.9 errors on multiple star target Batuhan Taskaya 2020-05-21 20:35:13 +03:00
  • 2dcc0d3770 Quick fix about invalid version test Batuhan Taskaya 2020-05-21 19:13:43 +03:00
  • 34b8b7dd79 Correctly parse 2-digit minor versions (py3.10) Batuhan Taskaya 2020-05-21 15:46:14 +03:00
  • caadf3bf4c approve hit msg when python version is unsupported WinChua 2020-05-17 17:47:52 +08:00
  • 1b4c75608a Fix a python_bytes_to_unicode issue, fixes #107 Dave Halter 2020-05-14 23:34:14 +02:00
  • 15403fd998 Use a Windows cache folder change from Jedi Dave Halter 2020-05-10 11:50:00 +02:00
  • b9725364ab Add a lot of comment to the diff parser v0.7.0 Dave Halter 2020-04-13 11:29:32 +02:00
  • 66ecc264f9 Write 0.7.0 release notes Dave Halter 2020-04-13 11:15:05 +02:00
  • 63b73a05e6 Diff parser: Take care of one line function error recovery with decorator Dave Halter 2020-04-13 11:07:37 +02:00
  • baec4ac58f Diff parser: Take care of one line function error recovery Dave Halter 2020-04-12 02:47:46 +02:00
  • b5f58ac33c Ignore some slow files for the fuzzer Dave Halter 2020-04-12 01:14:24 +02:00
  • 83cb71f7a1 The fuzzer now tries to reuse previous modfiications as well sometimes Dave Halter 2020-04-11 23:28:56 +02:00
  • 30a2b2f40d Fix an error case with prefixes Dave Halter 2020-04-11 22:50:16 +02:00
  • d81e393c0c Fix indentation issues with backslashes and def error recovery Dave Halter 2020-04-10 21:48:14 +02:00
  • 7822f8be84 Python 2 compatibility Dave Halter 2020-04-09 22:47:50 +02:00
  • 93788a3e09 Add a test for the diff parser that xfails Dave Halter 2020-04-09 00:03:39 +02:00
  • 085f666ca1 Add more tokens that can break parens to tokenizer Dave Halter 2020-04-08 23:24:30 +02:00
  • 9e546e42de Diff parser: Fix another byte order mark issue Dave Halter 2020-04-07 22:58:42 +02:00
  • 7b14a86e0a Fix tokenizer error tokens Dave Halter 2020-04-07 09:55:28 +02:00
  • f45941226f Diff parser: Fix other BOM issues Dave Halter 2020-04-07 01:06:03 +02:00
  • e04552b14a Fix tests for Python 2 Dave Halter 2020-04-06 23:52:29 +02:00
  • cd9c213a62 Fix fstring issues when error leaves are involved Dave Halter 2020-04-06 23:34:27 +02:00
  • 561e81df00 Replace non utf8 errors properly in diff fuzzer Dave Halter 2020-04-06 02:04:48 +02:00
  • 556ce86cde Tokenizer: It should not be possible to break out of backslashes on the next line, even if it was an error Dave Halter 2020-04-06 01:25:06 +02:00
  • b12dd498bb Diff parser: Fix BOM with indentation issues Dave Halter 2020-04-05 20:47:49 +02:00
  • db10b4fa72 Diff parser: Need to care for eror dedents in some open parentheses/always break contexts Dave Halter 2020-04-05 14:39:56 +02:00
  • ed38518052 Diff parser: Make sure that nested suites get properly copied Dave Halter 2020-04-05 02:47:34 +02:00
  • ebc69545c7 Fix error recovery for multi line strings at the end of the file Dave Halter 2020-04-05 00:13:55 +02:00
  • 67ebb6acac async is actually a token that cannot appear in brackets Dave Halter 2020-04-04 23:14:10 +02:00
  • bcf76949b6 Diff parser: Remove error statements before caring about nested functions Dave Halter 2020-04-04 22:43:33 +02:00
  • 6c7b397cc7 Diff parser: Check indentation for copies correctly Dave Halter 2020-04-04 20:36:19 +02:00
  • 1927ba7254 Start using the parser count/copy count again Dave Halter 2020-04-04 17:49:35 +02:00
  • a6c33411d4 Remove all the error dedent/indent additions in the diff parser Dave Halter 2020-04-04 16:15:17 +02:00
  • f8dce76ef7 Make sure to only copy nodes that have the same indentation in diff parser Dave Halter 2020-04-04 16:07:54 +02:00
  • 3242e36859 Python 2 compatibility Dave Halter 2020-04-04 15:45:03 +02:00
  • 734a4b0e67 Remove support for specialized treatment of form feeds Dave Halter 2020-04-04 15:38:10 +02:00
  • 1047204654 Small tokenizer refactoring Dave Halter 2020-04-04 13:13:00 +02:00
  • ae6af7849e Diff parser: All indent checks should use _get_indent Dave Halter 2020-04-04 13:08:47 +02:00
  • e1632cdadc Fix some issues with async funcs Dave Halter 2020-04-04 04:01:15 +02:00
  • 7f0dd35c37 Remove the piece of shit _get_insertion_node function Dave Halter 2020-04-04 03:51:28 +02:00
  • ad88783ac9 Remove get_first_indentation Dave Halter 2020-04-03 16:47:00 +02:00
  • 8550a52e48 Remove indents from _NodesTreeNode Dave Halter 2020-04-03 16:26:01 +02:00
  • c88a736e35 Fix indent issues Dave Halter 2020-04-03 16:24:26 +02:00
  • a07146f8a5 Deal with indents in diff parser more explicitly Dave Halter 2020-04-03 12:41:28 +02:00
  • 0c0aa31a91 Don't use max as a variable Dave Halter 2020-04-03 03:35:21 +02:00
  • 77327a4cea Make node insertion a bit easier Dave Halter 2020-04-03 03:28:14 +02:00
  • 8bbd304eb9 Define token types a bit different in diff parser Dave Halter 2020-04-03 01:05:11 +02:00
  • 62fd03edda Pass tokens in diff tokenizer Dave Halter 2020-04-03 01:01:37 +02:00
  • 12063d42fc When debugging print Dave Halter 2020-04-03 00:56:59 +02:00
  • c86af743df Initialize start pos properly in diff parser Dave Halter 2020-04-03 00:54:13 +02:00
  • fb2ea551d5 Move the tokenizer/diff parser closer together Dave Halter 2020-04-03 00:18:35 +02:00
  • ce170e8aae WIP: Try to use the tokenizer in a more native way Dave Halter 2020-04-02 02:00:35 +02:00
  • d674bc9895 Fix a backslash issue Dave Halter 2020-03-29 23:59:53 +02:00
  • 0d9886c22a Diff parser: Rewrite tokenizer modifications a bit Dave Halter 2020-03-29 22:41:59 +02:00
  • 9f8a68677d Tokenizer: It's now clearer when an error dedent appears Dave Halter 2020-03-29 13:50:36 +02:00
  • a950b82066 Fix tokenizer for random invalid unicode points Dave Halter 2020-03-28 21:01:57 +01:00
  • 38b7763e9a Use _assert_nodes_are_equal in the fuzzer Dave Halter 2020-03-28 14:51:27 +01:00
  • cf880f43d4 Tokenizer: Add error dedents only if parens are not open Dave Halter 2020-03-28 14:41:10 +01:00
  • 8e49d8ab5f Fix tokenizer fstring end positions Dave Halter 2020-03-28 11:22:32 +01:00
  • 77b3ad5843 Small flake8 refactoring Dave Halter 2020-03-28 10:41:00 +01:00
  • 29e3545241 Fix adding error indents/dedents only at the right places Dave Halter 2020-03-27 17:05:05 +01:00
  • 3d95b65b21 Fix an issue with unfinished f string literals Dave Halter 2020-03-27 11:17:31 +01:00
  • b86ea25435 Add a bit to the CHANGELOG Dave Halter 2020-03-24 22:38:18 +01:00
  • 4c42a82ebc Allow multiple newlines in a suite, this makes the diff parser easier Dave Halter 2020-03-24 22:35:21 +01:00
  • 43651ef219 Diff parser: Make sure dedent start pos are matching Dave Halter 2020-03-24 22:27:04 +01:00
  • 419d9e3174 Diff parser: Fix a few more indentation issues Dave Halter 2020-03-24 22:03:29 +01:00
  • 2bef3cf6ff Fix an issue where indents where repeated unnessecarily Dave Halter 2020-03-24 00:24:53 +01:00
  • 8e95820d78 Don't show logs in pytest, because they already appear by default Dave Halter 2020-03-23 23:53:23 +01:00
  • c18c89eb6b Diff parser: Correctly add indent issues Dave Halter 2020-03-23 00:16:47 +01:00
  • afc556d809 Diff parser: Prepare for indent error leaf insertion Dave Halter 2020-03-22 22:57:58 +01:00
  • cdb791fbdb Diff parser: Add error dedents if necessary, see also davidhalter/jedi#1499 Dave Halter 2020-03-22 21:35:59 +01:00
  • 93f1cdebbc Try to make parsed trees more similar for incomplete dedents, see also davidhalter/jedi#1499 Dave Halter 2020-03-22 21:15:22 +01:00
  • d3ceafee01 Specify in tests how another dedent issue is recovered from Dave Halter 2020-03-22 19:34:12 +01:00
  • 237dc9e135 Diff parser: Make sure to pop nodes directly after error nodes, see also davidhalter/jedi#1499 Dave Halter 2020-03-22 14:49:22 +01:00
  • bd37353042 Move a bit of code Dave Halter 2020-03-22 13:46:13 +01:00
  • 51a044cc70 Fix diff parser: Invalid dedents meant that sometimes the wrong parents were chosen, fixes davidhalter/jedi#1499 Dave Halter 2020-03-22 12:37:01 +01:00
  • 2cd0d6c9fc Fix: Dedent omission was wrong, see davidhalter/jedi#1499 Dave Halter 2020-03-22 01:25:45 +01:00
  • 287a86c242 ci: Travis: use Python 3.8.2 Daniel Hahler 2020-02-27 20:48:20 +01:00
  • 0234a70e95 Python 3.8.2 was released and an error message changed, fixes #103 Dave Halter 2020-02-28 00:31:50 +01:00
  • 7ba49a9695 Prepare the 0.6.2 release v0.6.2 Dave Halter 2020-02-27 02:09:39 +01:00
  • 53da7e8e6b Fix get_next_sibling on module, fixes #102 Dave Halter 2020-02-21 15:54:55 +01:00
  • 6dd29c8efb Fix ExprStmt.get_rhs for annotations Dave Halter 2020-02-14 15:15:23 +01:00
  • e4a9cfed86 Give parso refactoring tools Dave Halter 2020-02-12 19:05:47 +01:00
  • a7f4499644 Add venv to .gitignore (#101) Joe Antonakakis 2020-02-14 05:28:07 -08:00
  • 4306e8b34b Change the release date for 0.6.1 v0.6.1 Dave Halter 2020-02-03 21:46:25 +01:00
  • 2ce3898690 Prepare the next release 0.6.1 Dave Halter 2020-02-03 18:40:05 +01:00
  • 16f257356e Make end_pos public for syntax issues Dave Halter 2020-02-03 18:36:47 +01:00