Ben Langmuir
62154093c0
Fix pylint warning about indentation width
2019-02-15 11:52:25 -08:00
Ben Langmuir
d02c52124d
Speed up roundtrip syntax tests
...
Running the unified diff is really slow, so first check if the strings
are identical. Speeds up the roundtrip stdlib test by 8x on my machine.
2019-02-15 10:45:29 -08:00
Saleem Abdulrasool
7d07ae4192
utils: port round-trip-syntax-test to windows
...
Use python's builtin diff rather than invoking `/usr/bin/diff` which
does not exist on Windows. Decode the content into UTF-8 before
processing it for the diff as the file reading will give us UTF-16
content on Windows.
2019-01-15 19:47:55 -08:00
Rintaro Ishizaki
1615a6746f
[libSyntax] Fix round-trip-syntax-test script
...
was always success because of logic error in the script.
2017-12-09 14:48:21 +09:00
Hugh Bellamy
ad4b338062
Fix python lint failures now not excluded as we provide custom exclusions
...
Looks like flake8 enables other rules when you add something to the
exclusion list. We added W291
2017-03-27 12:31:56 +07:00
Hugh Bellamy
8671854674
Properly python lint remaining files
2017-03-23 14:06:46 +07:00
David Farler
71346dc5c1
[Syntax] Add round-trip syntax test driver and stdlib roundtrip test
2017-02-17 12:57:04 -08:00