Commit Graph

12 Commits

Author SHA1 Message Date
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
practicalswift
22d043fcc0 [gardening] Fix violations of non-controversial PEP8 rules.
Fixes:
* blank line at end of file
* closing bracket does not match indentation of opening bracket's line
* continuation line over-indented for hanging indent
* continuation line over-indented for visual indent
* continuation line unaligned for hanging indent
* inline comment should start with '# '
* missing whitespace around arithmetic operator
* missing whitespace around bitwise or shift operator
* multiple imports on one line
* multiple spaces after ':'
* multiple spaces after operator
2016-01-16 00:47:43 +01:00
practicalswift
4f2496e1a6 Various Python cleanups
Fixes:
* Unused import
* Redundant backslash
* Use of discouraged if not x in y
* Use of deprecated form of raising exceptions

Follow-up to PR #655 as requested by @gribozavr
2015-12-22 21:05:47 +01:00
Michael Gottesman
851b7885da [pass-pipeline] Cleanup parser.
Swift SVN r24351
2015-01-10 04:12:40 +00:00
Michael Gottesman
4e941c8374 Create the verbose argument right... *sigh*.
Swift SVN r24340
2015-01-10 00:45:21 +00:00
Michael Gottesman
3f6f10a562 [pipelines] Add a verbose option to pipelines.
Swift SVN r24338
2015-01-10 00:40:28 +00:00
Michael Gottesman
37d07b9ce0 [pipelines] Change running with build script to not bail if one iteration of building the stdlib with a pass disabled fails. Also only dump output upon failure.
Swift SVN r24328
2015-01-09 22:43:05 +00:00
Michael Gottesman
997b90aa7b Add to pipelines_build_script.py subparsers for argparsing the right way and add a user friendly mode to run with a specific pass disabled.
Swift SVN r24316
2015-01-09 17:29:37 +00:00
Michael Gottesman
faa2f9339e Rename normal_pipeline.py => pipeline_generator.py and pipelines.py => pipelines_build_script.py.
This makes it clearer via their name what the two scripts are meant to
be used for.

As a recap:

1. pipeline_generator.py is meant for generating pass pipeline json
files.
2. pipelines_build_script.py is a script built ontop of
pipeline_generator.py that makes it easy to run build-script with
various pass pipelines that can be generated from
pipeline_generator.py. It is meant to be used on buildbots and for ones
own enjoyment as well.

Swift SVN r24315
2015-01-09 17:29:36 +00:00