Commit Graph

15 Commits

Author SHA1 Message Date
Jordan Rose
fd11da5d88 resolve-crashes.py: remove "REQUIRES: asserts" as well (#13215) 2017-12-04 09:30:42 -08:00
Hugh Bellamy
4f23d61da0 Import print_function wherever we use print() in python code 2017-02-20 11:11:27 +07:00
Hugh Bellamy
fa3543d3c5 Fix some pylint errors for double whitespace after class/function 2017-02-17 15:37:19 +07:00
Rintaro Ishizaki
0d98087988 [gardening] fix 80-column violation in Python script 2016-09-02 13:58:03 +09:00
Slava Pestov
1b11d9d4c3 Teach resolve-crashers.py to resolve SIL crashers 2016-08-28 13:51:39 -07:00
Slava Pestov
d7a95e7467 Fix resolve-crashes.py for recent change 2016-07-25 22:41:24 -07:00
practicalswift
0796eaad1f [Python] Fix 80-column violations 2016-03-09 23:52:11 +01:00
Brian Gesiak
c9000af795 Merge pull request #1526 from practicalswift/fix-pep8-violations-ii
[Python] Fix five classes of PEP-8 violations (E101/E111/E128/E302/W191)
2016-03-08 23:55:46 -05:00
practicalswift
265835fdfc [Python] Use consistent import ordering for Python code
Ordering used:
1.) standard library imports
2.) third party imports
3.) local package imports

Each group is individually alphabetized.
2016-03-07 23:25:16 +01:00
practicalswift
183da818df [Python] Fix five classes of PEP-8 violations (E101/E111/E128/E302/W191)
* E101: indentation contains mixed spaces and tabs
* E111: indentation is not a multiple of four
* E128: continuation line under-indented for visual indent
* E302: expected 2 blank lines, found 1
* W191: indentation contains tabs
2016-03-07 22:36:23 +01:00
Slava Pestov
f439a9d8b8 resolve-crashes.py can now resolve IDE/crashers 2016-01-27 23:51:21 -08:00
practicalswift
1cd4d4e9c9 [gardening] Fix violations of non-controversial PEP8 rules
Fixes:
* multiple statements on one line (colon) (E701)
* missing whitespace around arithmetic operator (E226)
* missing whitespace around operator (E225)
* closing bracket does not match visual indentation (E124)
* blank line contains whitespace (W293)
* continuation line missing indentation or outdented (E122)
* continuation line over-indented for hanging indent (E126)
* missing expected blank line (E301)
* trailing whitespace (W291)
* unexpected spaces around keyword / parameter equals (E251)
* whitespace after '(', '[' or '{' (E201)
* whitespace before ')', ']' or '}' (E202)
* whitespace before ',' or ':' (E203)
2016-01-23 09:23:33 +01:00
James McLaughlin
9da5899652 Consistently use env(1) to resolve bash and python paths 2015-12-03 20:55:27 +00:00
Slava Pestov
786141fbef resolve-crashes.py now "supports" resolving compiler_crashers_2 as well
Swift SVN r29645
2015-06-24 22:27:55 +00:00
Doug Gregor
4a8bba2e23 Add a little utility to help update resolved crashers.
Swift SVN r28923
2015-05-22 17:03:33 +00:00