Skip to content

Conversation

@practicalswift
Copy link
Contributor

After this commit:

$ flake8
$

Before this commit:

$ flake8
./benchmark/scripts/compare_perf_tests.py:22:1: F401 'os' imported but unused
./benchmark/scripts/compare_perf_tests.py:25:8: E225 missing whitespace around operator
./benchmark/scripts/compare_perf_tests.py:28:8: E225 missing whitespace around operator
./benchmark/scripts/compare_perf_tests.py:29:8: E225 missing whitespace around operator
./benchmark/scripts/compare_perf_tests.py:30:9: E225 missing whitespace around operator
./benchmark/scripts/compare_perf_tests.py:31:9: E225 missing whitespace around operator
./benchmark/scripts/compare_perf_tests.py:32:9: E225 missing whitespace around operator
./benchmark/scripts/compare_perf_tests.py:34:7: E225 missing whitespace around operator
./benchmark/scripts/compare_perf_tests.py:35:12: E225 missing whitespace around operator
./benchmark/scripts/compare_perf_tests.py:36:15: E225 missing whitespace around operator
./benchmark/scripts/compare_perf_tests.py:42:15: F821 undefined name 'ScoreParserException'
./benchmark/scripts/compare_perf_tests.py:42:66: E226 missing whitespace around arithmetic operator
./benchmark/scripts/compare_perf_tests.py:51:23: E701 multiple statements on one line (colon)
./benchmark/scripts/compare_perf_tests.py:60:23: E701 multiple statements on one line (colon)
./benchmark/scripts/compare_perf_tests.py:93:26: E701 multiple statements on one line (colon)
./benchmark/scripts/compare_perf_tests.py:99:26: E701 multiple statements on one line (colon)
./benchmark/scripts/compare_perf_tests.py:102:26: E701 multiple statements on one line (colon)
./benchmark/scripts/compare_perf_tests.py:109:31: E226 missing whitespace around arithmetic operator
./benchmark/scripts/compare_perf_tests.py:112:25: E228 missing whitespace around modulo operator
./benchmark/scripts/compare_perf_tests.py:112:46: E226 missing whitespace around arithmetic operator
./benchmark/scripts/compare_perf_tests.py:112:58: E226 missing whitespace around arithmetic operator
./benchmark/scripts/compare_perf_tests.py:112:61: E226 missing whitespace around arithmetic operator
./benchmark/scripts/compare_perf_tests.py:117:27: E228 missing whitespace around modulo operator
./benchmark/scripts/compare_perf_tests.py:117:32: E226 missing whitespace around arithmetic operator
./benchmark/scripts/compare_perf_tests.py:168:15: E701 multiple statements on one line (colon)
./benchmark/scripts/compare_perf_tests.py:168:30: E702 multiple statements on one line (semicolon)
./benchmark/scripts/compare_perf_tests.py:174:18: E701 multiple statements on one line (colon)
./benchmark/scripts/compare_perf_tests.py:175:13: E701 multiple statements on one line (colon)
./benchmark/scripts/compare_perf_tests.py:180:25: E231 missing whitespace after ','
./benchmark/scripts/compare_perf_tests.py:182:25: E231 missing whitespace after ','
./benchmark/scripts/compare_perf_tests.py:190:12: E713 test for membership should be 'not in'
./benchmark/scripts/compare_perf_tests.py:193:12: E713 test for membership should be 'not in'
./benchmark/scripts/generate_harness/generate_harness.py:35:59: E127 continuation line over-indented for visual indent
./benchmark/scripts/generate_harness/generate_harness.py:47:29: E127 continuation line over-indented for visual indent
./benchmark/scripts/generate_harness/generate_harness.py:65:5: E301 expected 1 blank line, found 0
./benchmark/scripts/generate_harness/generate_harness.py:74:13: E126 continuation line over-indented for hanging indent
./benchmark/scripts/generate_harness/generate_harness.py:90:1: W391 blank line at end of file
./benchmark/scripts/perf_test_driver/perf_test_driver.py:16:1: F401 'sys' imported but unused
./benchmark/scripts/perf_test_driver/perf_test_driver.py:88:27: E226 missing whitespace around arithmetic operator
./benchmark/scripts/perf_test_driver/perf_test_driver.py:115:1: W391 blank line at end of file
./benchmark/utils/convertToJSON.py:65:8: E225 missing whitespace around operator
./benchmark/utils/convertToJSON.py:68:8: E225 missing whitespace around operator
./benchmark/utils/convertToJSON.py:69:9: E225 missing whitespace around operator
./benchmark/utils/convertToJSON.py:70:9: E225 missing whitespace around operator
./benchmark/utils/convertToJSON.py:78:16: F821 undefined name 'VERBOSE'
./benchmark/utils/convertToJSON.py:78:23: E701 multiple statements on one line (colon)
./benchmark/utils/convertToJSON.py:85:46: F821 undefined name 'parseFloat'
./benchmark/scripts/Benchmark_Driver:33:50: E502 the backslash is redundant between brackets
./benchmark/scripts/Benchmark_Driver:34:54: E226 missing whitespace around arithmetic operator
./benchmark/scripts/Benchmark_Driver:36:43: E502 the backslash is redundant between brackets
./benchmark/scripts/Benchmark_Driver:37:54: E226 missing whitespace around arithmetic operator
./benchmark/scripts/Benchmark_Driver:54:36: E226 missing whitespace around arithmetic operator
./benchmark/scripts/Benchmark_Driver:54:43: E226 missing whitespace around arithmetic operator
./benchmark/scripts/Benchmark_Driver:54:47: E226 missing whitespace around arithmetic operator
./benchmark/scripts/Benchmark_Driver:54:56: E226 missing whitespace around arithmetic operator
./benchmark/scripts/Benchmark_Driver:61:55: E226 missing whitespace around arithmetic operator
./benchmark/scripts/Benchmark_Driver:61:62: E226 missing whitespace around arithmetic operator
./benchmark/scripts/Benchmark_Driver:61:66: E226 missing whitespace around arithmetic operator
./benchmark/scripts/Benchmark_Driver:61:75: E226 missing whitespace around arithmetic operator
./benchmark/scripts/Benchmark_Driver:88:69: E502 the backslash is redundant between brackets
./benchmark/scripts/Benchmark_Driver:105:61: E502 the backslash is redundant between brackets
./benchmark/scripts/Benchmark_Driver:155:28: E231 missing whitespace after ','
./benchmark/scripts/Benchmark_Driver:155:38: E231 missing whitespace after ','
./benchmark/scripts/Benchmark_Driver:155:49: E231 missing whitespace after ','
./benchmark/scripts/Benchmark_Driver:155:60: E231 missing whitespace after ','
./benchmark/scripts/Benchmark_Driver:155:72: E231 missing whitespace after ','
./benchmark/scripts/Benchmark_Driver:156:30: E231 missing whitespace after ','
./benchmark/scripts/Benchmark_Driver:185:44: E226 missing whitespace around arithmetic operator
./benchmark/scripts/Benchmark_Driver:207:53: E226 missing whitespace around arithmetic operator
./benchmark/scripts/Benchmark_Driver:230:49: E226 missing whitespace around arithmetic operator
./benchmark/scripts/Benchmark_Driver:263:59: E221 multiple spaces before operator
./benchmark/scripts/Benchmark_Driver:264:21: E126 continuation line over-indented for hanging indent
./benchmark/scripts/Benchmark_Driver:326:73: E502 the backslash is redundant between brackets
./benchmark/scripts/Benchmark_Driver:348:73: E502 the backslash is redundant between brackets
./benchmark/scripts/Benchmark_GuardMalloc.in:47:35: E127 continuation line over-indented for visual indent
./benchmark/scripts/Benchmark_GuardMalloc.in:48:35: E127 continuation line over-indented for visual indent
./benchmark/scripts/Benchmark_GuardMalloc.in:49:35: E127 continuation line over-indented for visual indent
./benchmark/scripts/Benchmark_GuardMalloc.in:60:1: W391 blank line at end of file
./benchmark/scripts/Benchmark_RuntimeLeaksRunner.in:16:1: F401 're' imported but unused
./benchmark/scripts/Benchmark_RuntimeLeaksRunner.in:67:5: E301 expected 1 blank line, found 0
./benchmark/scripts/Benchmark_RuntimeLeaksRunner.in:78:13: F841 local variable 'status' is assigned to but never used
./benchmark/scripts/Benchmark_RuntimeLeaksRunner.in:79:13: F841 local variable 'output' is assigned to but never used
./benchmark/scripts/compare_perf_tests.py:        keys = [f for f in set(scores.keys())]
./benchmark/scripts/compare_perf_tests.py:    keys = [f for f in set(scores1.keys() + scores2.keys())]
./benchmark/scripts/generate_harness/generate_harness.py:            self.files = [x for x in os.listdir(path)
$

lplarson added a commit that referenced this pull request Feb 10, 2016
[Python] Bring new code in line with subset of PEP 8 used in project
@lplarson lplarson merged commit 15d94d1 into swiftlang:master Feb 10, 2016
MaxDesiatov pushed a commit that referenced this pull request Oct 19, 2020
[pull] swiftwasm from master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants