Commit Graph

88 Commits

Author SHA1 Message Date
Dave Halter
6a92f5ec2d Better __future__ import handling for those that don't exist. 2017-07-25 20:21:38 +02:00
Dave Halter
d012353637 Add the remaining issues for arguments. 2017-07-25 02:25:06 +02:00
Dave Halter
babd7fca92 Add issue 'positional argument follows keyword argument unpacking'. 2017-07-25 01:54:25 +02:00
Dave Halter
d54d7752d4 Some more issues regarding keyword arguments. 2017-07-25 01:19:07 +02:00
Dave Halter
00bc1a5b94 Add issue 'keyword can't be an expression' 2017-07-25 00:58:08 +02:00
Dave Halter
6085c91df1 Some issues regarding annotations. 2017-07-25 00:38:27 +02:00
Dave Halter
319a0cc56f Add issue: 'bytes can only contain ASCII literal characters.' 2017-07-24 18:28:14 +02:00
Dave Halter
4e1513ae72 Add issue 'non-default argument follows default argument' 2017-07-24 18:14:54 +02:00
Dave Halter
d1eb1d61ec Add two more issues one about strings and one about an import. 2017-07-24 00:34:14 +02:00
Dave Halter
c2ab9a9e25 Add issue 'dict unpacking cannot be used in dict comprehension' 2017-07-23 23:47:57 +02:00
Dave Halter
915b00dab7 Added issue: iterable unpacking cannot be used in comprehension 2017-07-23 23:22:05 +02:00
Dave Halter
33769c6243 Add issue: Generator expression must be parenthesized if not sole argument 2017-07-23 22:56:19 +02:00
Dave Halter
0fe872f87a A few more tests. 2017-07-22 19:21:56 +02:00
Dave Halter
3669a81e2f Small improvements. 2017-07-22 19:07:55 +02:00
Dave Halter
d76eee2a96 Add 'named arguments must follow bare *' issue and a few conftest tweaks. 2017-07-22 19:00:35 +02:00
Dave Halter
89999949e2 Move some 2.6 stuff around. 2017-07-22 16:00:28 +02:00
Dave Halter
9e5d6db24a More small fixes regarding docstrings. 2017-07-21 19:56:04 +02:00
Dave Halter
97b98a1da3 Fix an issue where the future import should be first. 2017-07-21 19:43:49 +02:00
Dave Halter
1df06025c2 Handling of star_expr and some async issues. 2017-07-21 17:23:25 +02:00
Dave Halter
fa30872d26 Add and fix some async/await issues. 2017-07-20 17:28:43 +02:00
Dave Halter
9296fe3def Skip 2 tests in Python 2.6. 2017-07-20 17:11:10 +02:00
Dave Halter
26c71a9586 Add yield issues when outside function. 2017-07-20 09:51:35 +02:00
Dave Halter
fc1c16b966 await checks. 2017-07-20 09:44:10 +02:00
Dave Halter
03526cd84e Add default 'except:' must be last. 2017-07-20 01:33:59 +02:00
Dave Halter
9c4bf8cec4 Add error code for return outside function. 2017-07-20 00:20:22 +02:00
Dave Halter
d21504e2ca break should be in loop. 2017-07-20 00:11:15 +02:00
Dave Halter
4a86571b21 Add 'continue' not properly in loop 2017-07-19 23:52:41 +02:00
Dave Halter
4919eccf00 Add 'continue' not supported inside 'finally' clause. 2017-07-19 23:33:16 +02:00
Dave Halter
944fe5a896 Fix the last IndentationError. 2017-07-19 22:15:20 +02:00
Dave Halter
d52c8651d7 Fix a 2.7 error. 2017-07-19 21:58:38 +02:00
Dave Halter
bf5190c7bf Add SyntaxError: too many statically nested blocks. 2017-07-19 21:56:06 +02:00
Dave Halter
65df539e97 Better matching syntax errors. 2017-07-19 20:56:31 +02:00
Dave Halter
756587ae4a Add tests to check if python returns the same errors as the parser. 2017-07-19 20:54:23 +02:00
Dave Halter
6876e1b7c0 Use ERROR_DEDENT instead of ERRORTOKEN for wrong dedents. 2017-07-19 20:15:06 +02:00
Dave Halter
569cb99ca7 Start scanning for indentation errors. 2017-07-19 18:45:58 +02:00
Dave Halter
f6b3b1cc24 Make version a keyword only argument in load_grammar. 2017-07-14 18:28:03 +02:00
Dave Halter
b3923e65e8 Try to add syntax errors to pep8 normalizing. 2017-07-10 23:04:54 +02:00
Dave Halter
53cf408d99 Add some tests for python error listing. 2017-07-09 16:57:27 +02:00