Commit Graph

83 Commits

Author SHA1 Message Date
Dave Halter
904f293830 Move annassign and starexprs. 2017-08-18 18:15:24 +02:00
Dave Halter
3e39a04bb1 Fix opening contexts at the right position. 2017-08-06 14:39:26 +02:00
Dave Halter
8382f338ca Fix some small issues around expr_stmt. 2017-08-06 02:52:52 +02:00
Dave Halter
065081f227 Fix two more TODOs about bytes in Python 2. 2017-08-05 23:12:33 +02:00
Dave Halter
63e30843dc Add 'yield' inside async function' for Python 3.5. 2017-08-05 22:33:11 +02:00
Dave Halter
3ccbf4326c Added the unicode/bytes literal escaping issues. 2017-08-02 10:17:15 +02:00
Dave Halter
5fbbb225dd Refactor a bit for Python 2. 2017-07-31 10:27:57 +02:00
Dave Halter
7f6bef19e1 Fix a few things to get Python3.5 working. 2017-07-30 22:24:22 +02:00
Dave Halter
0906c0b634 Add no binding found for nonlocal issue 2017-07-30 21:33:26 +02:00
Dave Halter
aa0225f63f Move some code around in tests. 2017-07-30 19:47:10 +02:00
Dave Halter
45b965063e Fix an issue with starred arguments and if they are defined or used. 2017-07-30 18:42:59 +02:00
Dave Halter
94ce899a86 Add issue 'too many expressions in star-unpacking assignment' 2017-07-30 15:13:21 +02:00
Dave Halter
2420f57a5c Better checking of annotations/params and nonlocals/globals. 2017-07-30 12:23:17 +02:00
Dave Halter
186160b9ff Add issue 'nonlocal declaration not allowed at module level' 2017-07-25 22:29:09 +02:00
Dave Halter
6a92f5ec2d Better __future__ import handling for those that don't exist. 2017-07-25 20:21:38 +02:00
Dave Halter
6085c91df1 Some issues regarding annotations. 2017-07-25 00:38:27 +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
d76eee2a96 Add 'named arguments must follow bare *' issue and a few conftest tweaks. 2017-07-22 19:00:35 +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
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
4a86571b21 Add 'continue' not properly in loop 2017-07-19 23:52:41 +02:00
Dave Halter
9b8418db3f Forgot to check in the allowed_syntax file. 2017-07-19 23:35:16 +02:00
Dave Halter
944fe5a896 Fix the last IndentationError. 2017-07-19 22:15:20 +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
a647ee1f44 Finally fixed pretty much all the tests. 2017-07-12 23:11:04 +02:00
Dave Halter
c93546bfd9 Get tox -e py27 working. 2017-07-11 00:26:24 +02:00
Dave Halter
dd7c12834e Clarify when using print() is the right use or not. 2017-07-11 00:11:25 +02:00
Dave Halter
20fdc18ec5 We can now also test certain problems with python 2. 2017-07-10 23:57:36 +02:00
Dave Halter
b3923e65e8 Try to add syntax errors to pep8 normalizing. 2017-07-10 23:04:54 +02:00
Dave Halter
5b5e4a0616 Generate error tokens in the tokenizer if the indentation is dedented wrongly. 2017-07-09 10:44:24 +02:00
Dave Halter
7198df85ba Remove issue if the previous leaf is an error leaf. 2017-07-08 23:12:08 +02:00
Dave Halter
65168577cf Fix comment issues (E26x). 2017-07-08 13:57:39 +02:00
Dave Halter
a5ea2f7add Rework some todos. 2017-07-08 12:12:53 +02:00
Dave Halter
3943618fe2 Remove E999 and replace them with todos. 2017-07-08 12:07:00 +02:00
Dave Halter
1e2abec7f2 Fix all tests. Finally. 2017-07-08 12:00:58 +02:00
Dave Halter
0846ad6337 Fix an issue with brackets on weird lines. 2017-07-07 09:57:52 +02:00
Dave Halter
c951a24730 Some more fixes. Test run now with pytest -k 'not E12' under Python 3.5. 2017-07-07 00:55:46 +02:00
Dave Halter
5142870815 Cleanup some backslash node stuff. 2017-07-06 22:58:50 +02:00
Dave Halter
b3f42a8920 Fix some more test details. 2017-07-06 21:58:24 +02:00
Dave Halter
b2e35bc573 Add better line length checks (E501). 2017-07-06 17:39:23 +02:00
Dave Halter
507f190123 More newlines. 2017-07-06 02:07:25 +02:00
Dave Halter
89ed85d2e1 Add some newlines to avoid issues in other files. 2017-07-06 02:05:15 +02:00
Dave Halter
339d30776a Some test modifications to get more passing. 2017-07-06 00:17:16 +02:00
Dave Halter
da841adcb9 Fix the decorator blank line issues E304. 2017-07-06 00:14:36 +02:00
Dave Halter
fdad958b64 Fix most newline issues. 2017-07-05 17:15:24 +02:00
Dave Halter
6d91bcefe6 Add some test files for E30x. 2017-07-04 08:58:06 +02:00