rdemaria / pysixtrack

Reference sixtrack tracking engine in pure python
Apache License 2.0
1 stars 12 forks source link

mad example #21

Closed rdemaria closed 5 years ago

pep8speaks commented 5 years ago

Hello @rdemaria! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 4:19: E231 missing whitespace after ',' Line 4:22: E231 missing whitespace after ',' Line 4:25: E231 missing whitespace after ',' Line 4:28: E231 missing whitespace after ',' Line 4:31: E231 missing whitespace after ',' Line 4:34: E231 missing whitespace after ',' Line 4:37: E231 missing whitespace after ',' Line 4:40: E231 missing whitespace after ',' Line 4:43: E231 missing whitespace after ',' Line 4:47: W291 trailing whitespace Line 7:22: E231 missing whitespace after ',' Line 7:27: E231 missing whitespace after ',' Line 14:17: E225 missing whitespace around operator Line 15:17: E225 missing whitespace around operator Line 37:19: E225 missing whitespace around operator Line 37:27: E225 missing whitespace around operator Line 39:19: E225 missing whitespace around operator Line 48:1: E302 expected 2 blank lines, found 1 Line 49:1: W293 blank line contains whitespace Line 55:15: E225 missing whitespace around operator Line 55:17: E701 multiple statements on one line (colon) Line 58:15: E225 missing whitespace around operator Line 58:17: E701 multiple statements on one line (colon) Line 59:1: W293 blank line contains whitespace Line 72:20: E231 missing whitespace after ':' Line 73:1: W293 blank line contains whitespace Line 80:52: E225 missing whitespace around operator Line 81:1: W293 blank line contains whitespace Line 84:57: E228 missing whitespace around modulo operator Line 88:1: E302 expected 2 blank lines, found 1 Line 108:26: W291 trailing whitespace Line 116:17: E702 multiple statements on one line (semicolon) Line 116:30: E702 multiple statements on one line (semicolon) Line 119:36: E228 missing whitespace around modulo operator Line 121:17: E702 multiple statements on one line (semicolon) Line 121:30: E702 multiple statements on one line (semicolon) Line 124:36: E228 missing whitespace around modulo operator Line 141:16: E225 missing whitespace around operator Line 141:36: E231 missing whitespace after ',' Line 145:61: E225 missing whitespace around operator Line 149:61: E225 missing whitespace around operator Line 150:61: E225 missing whitespace around operator Line 151:61: E225 missing whitespace around operator Line 158:1: W293 blank line contains whitespace Line 161:1: W293 blank line contains whitespace Line 180:35: E225 missing whitespace around operator Line 180:42: E261 at least two spaces before inline comment Line 180:43: E262 inline comment should start with '# ' Line 181:35: E225 missing whitespace around operator Line 181:42: E261 at least two spaces before inline comment Line 181:43: E262 inline comment should start with '# ' Line 182:35: E225 missing whitespace around operator Line 182:42: E261 at least two spaces before inline comment Line 182:43: E262 inline comment should start with '# ' Line 187:37: E225 missing whitespace around operator Line 188:1: W293 blank line contains whitespace Line 192:30: E225 missing whitespace around operator Line 192:33: E701 multiple statements on one line (colon) Line 198:46: E225 missing whitespace around operator Line 205:1: W293 blank line contains whitespace Line 209:19: E225 missing whitespace around operator Line 209:19: E712 comparison to False should be 'if cond is False:' or 'if not cond:' Line 209:27: E261 at least two spaces before inline comment Line 209:27: E262 inline comment should start with '# ' Line 212:22: E225 missing whitespace around operator Line 213:1: W293 blank line contains whitespace Line 215:53: W291 trailing whitespace Line 223:22: E225 missing whitespace around operator Line 224:1: W293 blank line contains whitespace Line 229:1: W293 blank line contains whitespace Line 231:25: W291 trailing whitespace Line 236:45: W291 trailing whitespace Line 239:45: W291 trailing whitespace Line 244:45: W291 trailing whitespace Line 256:1: E265 block comment should start with '# ' Line 264:10: E201 whitespace after '(' Line 267:52: W291 trailing whitespace Line 268:11: E128 continuation line under-indented for visual indent Line 269:11: E128 continuation line under-indented for visual indent Line 271:52: W291 trailing whitespace Line 272:11: E128 continuation line under-indented for visual indent Line 273:11: E128 continuation line under-indented for visual indent Line 275:10: E201 whitespace after '(' Line 278:52: W291 trailing whitespace Line 279:11: E128 continuation line under-indented for visual indent Line 280:11: E128 continuation line under-indented for visual indent Line 282:52: W291 trailing whitespace Line 283:11: E128 continuation line under-indented for visual indent Line 284:11: E128 continuation line under-indented for visual indent

Line 18:80: E501 line too long (84 > 79 characters) Line 20:66: W291 trailing whitespace Line 21:9: E128 continuation line under-indented for visual indent Line 28:1: W391 blank line at end of file

Line 27:1: W293 blank line contains whitespace Line 27:1: W391 blank line at end of file

Line 104:1: W293 blank line contains whitespace