Dave Halter
|
367a75d2c8
|
Proper handling of E251 / E252.
|
2017-06-28 10:15:51 +02:00 |
|
Dave Halter
|
d6f8e3de4f
|
Add all the E27 issues.
|
2017-06-27 10:05:04 +02:00 |
|
Dave Halter
|
a341af1f81
|
Finally fix most of the issues in E22. Huge amounts of work.
|
2017-06-27 09:55:18 +02:00 |
|
Dave Halter
|
6bea7094c8
|
Add E211.
|
2017-06-23 09:49:18 +02:00 |
|
Dave Halter
|
2470f54baf
|
Fix the E20 errors.
|
2017-06-23 09:37:02 +02:00 |
|
Dave Halter
|
97aebe4aa0
|
Add some more tests.
|
2017-06-21 17:25:57 +02:00 |
|
Dave Halter
|
cd1b676c7e
|
A few tests that should mostly pass.
|
2017-06-21 09:47:43 +02:00 |
|
Dave Halter
|
98fbbaf945
|
Finally prepared the E12_second file to use it.
|
2017-06-15 19:32:11 +02:00 |
|
Dave Halter
|
0f2e6f9e22
|
Rework the test suite to make clearer where errors originate.
|
2017-06-15 19:30:48 +02:00 |
|
Dave Halter
|
d5e9ecea12
|
Figuring out how indentation of chained brackets works.
|
2017-06-15 01:26:38 +02:00 |
|
Dave Halter
|
c9fe2596c1
|
Add a first file for the tests of E12x.
|
2017-06-14 23:11:31 +02:00 |
|
Dave Halter
|
cdc3e0a731
|
Modify the license file a bit for the normalizer issue files to make my contributions clear.
|
2017-06-14 18:31:18 +02:00 |
|
Dave Halter
|
005e5f403a
|
Fix some stuff about backslashes.
|
2017-06-13 01:23:08 +02:00 |
|
Dave Halter
|
7981a309d1
|
Trying to rework the indentation stack.
|
2017-06-12 23:52:27 +02:00 |
|
Dave Halter
|
c07cd77417
|
Implement E101. No mixing of tabs and spaces in indentation.
|
2017-06-08 00:10:15 +02:00 |
|
Dave Halter
|
34aabd6b47
|
Make the prefix parsing a bit simpler by combining tabs and spaces.
|
2017-06-07 17:23:07 +02:00 |
|
Dave Halter
|
9365ffc932
|
For now mute a test where Jedi is not far enough with detecting issues in the parser tree.
|
2017-06-07 17:13:33 +02:00 |
|
Dave Halter
|
03c34d6105
|
Get the indentation errors of files mostly right even in comments.
|
2017-06-07 17:06:58 +02:00 |
|
Dave Halter
|
b73aa1fd61
|
Add normalizer issues 711-714.
|
2017-06-06 14:14:01 +02:00 |
|
Dave Halter
|
7d99b8e823
|
Make the normalizer tests' indentation easier to understand.
|
2017-06-06 08:56:55 +02:00 |
|
Dave Halter
|
ebf5850cb9
|
Add normalizer support for E701-E704.
|
2017-06-06 08:55:05 +02:00 |
|
Dave Halter
|
c3d101f582
|
Add some normalizer tests about imports.
|
2017-06-05 23:29:25 +02:00 |
|
Dave Halter
|
3e95793756
|
Fix the lambda issues.
|
2017-06-05 00:22:26 +02:00 |
|
Dave Halter
|
d1d02ba3f5
|
Create the first tests for the pydocstyle finder.
|
2017-06-04 23:59:44 +02:00 |
|
Dave Halter
|
e82976fb37
|
Fix a 27 issue.
|
2017-06-02 00:16:53 +02:00 |
|
Dave Halter
|
be54401388
|
Fix some stuff that caused issues in Jedi.
|
2017-06-02 00:15:37 +02:00 |
|
Dave Halter
|
b1b165c21e
|
Actually pass the tests again with removed remove_last_newline.
|
2017-06-01 18:29:52 +02:00 |
|
Dave Halter
|
814b16cc6c
|
Remove the remove_newline hack and build that stuff into error recovery instead.
Tests are passing except for diff parser tests.
|
2017-05-31 21:24:24 +02:00 |
|
Dave Halter
|
b367058af6
|
Temporary work on carriage returns.
|
2017-05-31 08:59:49 +02:00 |
|
Dave Halter
|
8356bcab10
|
Fix small issues in prefix positioning.
|
2017-05-30 09:35:13 +02:00 |
|
Dave Halter
|
3e4b2f41cd
|
Fix the token types.
|
2017-05-30 02:05:45 +02:00 |
|
Dave Halter
|
6640308d15
|
Add a prefix splitting.
|
2017-05-30 02:00:08 +02:00 |
|
Dave Halter
|
adc3ec268a
|
Fix a 27 test.
|
2017-05-26 14:14:08 -04:00 |
|
Dave Halter
|
bc68266a68
|
Remove a todo that was a duplicate.
|
2017-05-26 13:01:50 -04:00 |
|
Dave Halter
|
dafffdc9b4
|
The parser cache in RAM has now grammar versioning.
|
2017-05-26 12:48:59 -04:00 |
|
Dave Halter
|
8ae5fc60d6
|
Moved the grammar object out of the cache module.
|
2017-05-26 12:17:45 -04:00 |
|
Dave Halter
|
976c5151af
|
Rename source_tokens to tokenize and generate_tokens to tokenize_lines.
|
2017-05-26 12:01:35 -04:00 |
|
Dave Halter
|
6283577bc3
|
Actually implement the load_grammar properly.
|
2017-05-25 16:45:29 -04:00 |
|
Dave Halter
|
333046c253
|
load_python_grammar -> load_grammar.
|
2017-05-25 13:28:24 -04:00 |
|
Dave Halter
|
2fd4567d6f
|
Add a test from jedi.
|
2017-05-24 00:42:17 -04:00 |
|
Dave Halter
|
f2c257d7dd
|
Move the utility function parse to the __init__ script.
|
2017-05-24 00:08:58 -04:00 |
|
Dave Halter
|
5fab429163
|
Fix a diff parser issue with a test as well.
|
2017-05-22 15:37:26 -04:00 |
|
Dave Halter
|
7d3438c94d
|
Move the parse function to the grammar.
|
2017-05-22 14:06:40 -04:00 |
|
Dave Halter
|
23d1470618
|
Add a more API focused grammar.
This makes it so we don't have to expose all the details of a pgen grammar to the user.
|
2017-05-21 17:02:15 -04:00 |
|
Dave Halter
|
d6a781744d
|
Fix a small mistake.
|
2017-05-20 14:10:21 -04:00 |
|
Dave Halter
|
0bd16939f1
|
Add utils tests for splitlines and source_to_unicode.
|
2017-05-20 09:54:37 -04:00 |
|
Dave Halter
|
88f8e172d5
|
Fixed a bug where providing a cache_path did not really affect anything.
|
2017-05-19 16:28:07 -04:00 |
|
Dave Halter
|
2d46d1e307
|
Add a parso test.
|
2017-05-19 16:17:10 -04:00 |
|
Dave Halter
|
9b4bd34425
|
Use normal functions for some more tests.
|
2017-05-19 10:18:04 -04:00 |
|
Dave Halter
|
c1010008af
|
Refactor code to allow only keyword-only arguments to the main function.
|
2017-05-18 17:16:42 -04:00 |
|