Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework #82

Open
wants to merge 57 commits into
base: master
Choose a base branch
from
Open

Rework #82

wants to merge 57 commits into from

Conversation

wdpozzo
Copy link
Collaborator

@wdpozzo wdpozzo commented Mar 15, 2021

Hi John,

I am happy with the way the code works with ray. It seems to be stable and, on my machine, passes all tests. I tried to minimise the impact on existing code, but this will break backward compatibility, but mainly through change of arguments, the rest is unaffected.

Cheers
Walter

wdpozzo and others added 30 commits January 26, 2021 23:01
…plemented the slice sampling of the likelihood limited prior
@wdpozzo wdpozzo requested a review from johnveitch March 15, 2021 18:18
@pep8speaks
Copy link

pep8speaks commented Mar 15, 2021

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

Line 23:1: E722 do not use bare 'except'
Line 191:1: W293 blank line contains whitespace
Line 194:1: W293 blank line contains whitespace
Line 231:46: E251 unexpected spaces around keyword / parameter equals
Line 231:48: E251 unexpected spaces around keyword / parameter equals
Line 232:26: E221 multiple spaces before operator
Line 232:26: E251 unexpected spaces around keyword / parameter equals
Line 232:34: E251 unexpected spaces around keyword / parameter equals
Line 239:39: E251 unexpected spaces around keyword / parameter equals
Line 239:41: E251 unexpected spaces around keyword / parameter equals
Line 245:19: E221 multiple spaces before operator
Line 250:22: E221 multiple spaces before operator
Line 258:19: E221 multiple spaces before operator
Line 259:25: E221 multiple spaces before operator
Line 264:21: E221 multiple spaces before operator
Line 265:21: E221 multiple spaces before operator
Line 282:9: E741 ambiguous variable name 'l'
Line 284:44: E251 unexpected spaces around keyword / parameter equals
Line 284:46: E251 unexpected spaces around keyword / parameter equals
Line 284:80: E501 line too long (118 > 79 characters)
Line 286:1: W293 blank line contains whitespace
Line 336:80: E501 line too long (99 > 79 characters)
Line 337:80: E501 line too long (102 > 79 characters)
Line 338:80: E501 line too long (100 > 79 characters)
Line 353:19: E221 multiple spaces before operator
Line 355:80: E501 line too long (103 > 79 characters)
Line 356:1: W293 blank line contains whitespace
Line 360:40: E231 missing whitespace after ','
Line 360:80: E501 line too long (97 > 79 characters)
Line 363:80: E501 line too long (112 > 79 characters)
Line 367:80: E501 line too long (112 > 79 characters)
Line 369:80: E501 line too long (110 > 79 characters)
Line 372:80: E501 line too long (81 > 79 characters)
Line 381:49: E228 missing whitespace around modulo operator
Line 381:63: E231 missing whitespace after ','
Line 382:30: E221 multiple spaces before operator
Line 386:80: E501 line too long (188 > 79 characters)
Line 386:188: E502 the backslash is redundant between brackets
Line 387:25: E128 continuation line under-indented for visual indent
Line 387:80: E501 line too long (141 > 79 characters)
Line 387:92: E228 missing whitespace around modulo operator
Line 387:141: E502 the backslash is redundant between brackets
Line 388:25: E128 continuation line under-indented for visual indent
Line 388:34: E228 missing whitespace around modulo operator
Line 388:80: E501 line too long (101 > 79 characters)
Line 389:1: W293 blank line contains whitespace
Line 394:80: E501 line too long (120 > 79 characters)
Line 394:105: E228 missing whitespace around modulo operator
Line 396:80: E501 line too long (87 > 79 characters)
Line 397:1: W293 blank line contains whitespace
Line 400:80: E501 line too long (112 > 79 characters)
Line 409:80: E501 line too long (112 > 79 characters)
Line 414:80: E501 line too long (105 > 79 characters)
Line 418:45: E251 unexpected spaces around keyword / parameter equals
Line 418:80: E501 line too long (126 > 79 characters)
Line 420:27: E231 missing whitespace after ','
Line 420:42: E231 missing whitespace after ','
Line 420:53: E231 missing whitespace after ','
Line 422:80: E501 line too long (94 > 79 characters)
Line 423:80: E501 line too long (89 > 79 characters)
Line 425:50: E231 missing whitespace after ','
Line 429:80: E501 line too long (113 > 79 characters)
Line 433:1: W293 blank line contains whitespace
Line 447:80: E501 line too long (88 > 79 characters)
Line 458:80: E501 line too long (95 > 79 characters)
Line 461:1: W293 blank line contains whitespace
Line 464:1: W293 blank line contains whitespace
Line 470:80: E501 line too long (84 > 79 characters)
Line 479:28: E203 whitespace before ':'
Line 480:80: E501 line too long (98 > 79 characters)
Line 480:81: E231 missing whitespace after ','
Line 500:80: E501 line too long (92 > 79 characters)
Line 506:80: E501 line too long (89 > 79 characters)
Line 509:80: E501 line too long (87 > 79 characters)
Line 515:29: E231 missing whitespace after ','
Line 531:80: E501 line too long (110 > 79 characters)
Line 537:80: E501 line too long (92 > 79 characters)
Line 538:80: E501 line too long (88 > 79 characters)
Line 548:1: E302 expected 2 blank lines, found 1
Line 552:1: W293 blank line contains whitespace
Line 555:1: W293 blank line contains whitespace
Line 558:1: W293 blank line contains whitespace
Line 560:80: E501 line too long (91 > 79 characters)
Line 562:1: W293 blank line contains whitespace
Line 566:24: E741 ambiguous variable name 'l'
Line 566:36: E251 unexpected spaces around keyword / parameter equals
Line 566:38: E251 unexpected spaces around keyword / parameter equals
Line 566:49: E251 unexpected spaces around keyword / parameter equals
Line 566:51: E251 unexpected spaces around keyword / parameter equals
Line 567:23: E221 multiple spaces before operator
Line 568:19: E221 multiple spaces before operator
Line 569:15: E221 multiple spaces before operator
Line 570:17: E221 multiple spaces before operator
Line 571:18: E221 multiple spaces before operator
Line 572:24: E221 multiple spaces before operator
Line 573:26: E221 multiple spaces before operator
Line 574:27: E221 multiple spaces before operator
Line 575:33: E221 multiple spaces before operator
Line 576:19: E221 multiple spaces before operator
Line 577:21: E221 multiple spaces before operator
Line 578:21: E221 multiple spaces before operator
Line 579:19: E221 multiple spaces before operator
Line 580:20: E221 multiple spaces before operator
Line 581:28: E221 multiple spaces before operator
Line 582:31: E221 multiple spaces before operator
Line 584:1: W293 blank line contains whitespace
Line 590:1: W293 blank line contains whitespace
Line 633:17: E231 missing whitespace after ','
Line 638:1: W293 blank line contains whitespace
Line 644:80: E501 line too long (82 > 79 characters)
Line 657:39: E231 missing whitespace after ','
Line 659:17: E225 missing whitespace around operator
Line 660:80: E501 line too long (97 > 79 characters)
Line 661:22: E221 multiple spaces before operator
Line 661:80: E501 line too long (98 > 79 characters)
Line 663:18: E231 missing whitespace after ','
Line 664:39: E701 multiple statements on one line (colon)
Line 664:52: E231 missing whitespace after ','
Line 666:22: E221 multiple spaces before operator
Line 666:48: E231 missing whitespace after ','
Line 674:38: E231 missing whitespace after ','
Line 675:14: E231 missing whitespace after ','
Line 676:35: E701 multiple statements on one line (colon)
Line 676:47: E231 missing whitespace after ','
Line 677:53: E701 multiple statements on one line (colon)
Line 677:65: E231 missing whitespace after ','
Line 677:80: E501 line too long (105 > 79 characters)
Line 679:26: E261 at least two spaces before inline comment
Line 680:1: W293 blank line contains whitespace
Line 685:23: E711 comparison to None should be 'if cond is None:'
Line 715:35: E231 missing whitespace after ','
Line 720:1: W293 blank line contains whitespace
Line 726:1: W293 blank line contains whitespace
Line 740:80: E501 line too long (87 > 79 characters)
Line 748:14: E231 missing whitespace after ','
Line 749:66: E251 unexpected spaces around keyword / parameter equals
Line 749:68: E251 unexpected spaces around keyword / parameter equals
Line 756:18: E231 missing whitespace after ','
Line 767:45: E231 missing whitespace after ','
Line 768:15: E221 multiple spaces before operator
Line 770:14: E231 missing whitespace after ','
Line 771:28: E231 missing whitespace after ','
Line 773:13: E221 multiple spaces before operator
Line 775:72: E231 missing whitespace after ','
Line 775:80: E501 line too long (89 > 79 characters)

Line 16:1: E402 module level import not at top of file
Line 17:1: E402 module level import not at top of file
Line 65:80: E501 line too long (92 > 79 characters)
Line 66:1: W293 blank line contains whitespace
Line 106:25: E221 multiple spaces before operator
Line 106:25: E251 unexpected spaces around keyword / parameter equals
Line 106:32: E251 unexpected spaces around keyword / parameter equals
Line 107:27: E221 multiple spaces before operator
Line 107:27: E251 unexpected spaces around keyword / parameter equals
Line 107:32: E251 unexpected spaces around keyword / parameter equals
Line 114:32: E251 unexpected spaces around keyword / parameter equals
Line 114:34: E251 unexpected spaces around keyword / parameter equals
Line 115:22: E221 multiple spaces before operator
Line 115:22: E251 unexpected spaces around keyword / parameter equals
Line 115:32: E251 unexpected spaces around keyword / parameter equals
Line 117:1: W293 blank line contains whitespace
Line 123:1: W293 blank line contains whitespace
Line 128:1: W293 blank line contains whitespace
Line 131:37: E712 comparison to True should be 'if cond is True:' or 'if cond:'
Line 135:1: W293 blank line contains whitespace
Line 143:80: E501 line too long (91 > 79 characters)
Line 146:80: E501 line too long (82 > 79 characters)
Line 156:80: E501 line too long (117 > 79 characters)
Line 168:25: E221 multiple spaces before operator
Line 169:24: E221 multiple spaces before operator
Line 175:28: E701 multiple statements on one line (colon)
Line 175:39: E225 missing whitespace around operator
Line 184:39: E128 continuation line under-indented for visual indent
Line 185:39: E128 continuation line under-indented for visual indent
Line 185:46: E221 multiple spaces before operator
Line 185:46: E251 unexpected spaces around keyword / parameter equals
Line 185:52: E251 unexpected spaces around keyword / parameter equals
Line 186:39: E128 continuation line under-indented for visual indent
Line 186:44: E221 multiple spaces before operator
Line 186:44: E251 unexpected spaces around keyword / parameter equals
Line 186:52: E251 unexpected spaces around keyword / parameter equals
Line 187:39: E128 continuation line under-indented for visual indent
Line 187:47: E221 multiple spaces before operator
Line 187:47: E251 unexpected spaces around keyword / parameter equals
Line 187:52: E251 unexpected spaces around keyword / parameter equals
Line 188:39: E124 closing bracket does not match visual indentation
Line 193:39: E128 continuation line under-indented for visual indent
Line 194:39: E128 continuation line under-indented for visual indent
Line 194:46: E221 multiple spaces before operator
Line 194:46: E251 unexpected spaces around keyword / parameter equals
Line 194:52: E251 unexpected spaces around keyword / parameter equals
Line 195:39: E128 continuation line under-indented for visual indent
Line 195:44: E221 multiple spaces before operator
Line 195:44: E251 unexpected spaces around keyword / parameter equals
Line 195:52: E251 unexpected spaces around keyword / parameter equals
Line 196:39: E128 continuation line under-indented for visual indent
Line 196:47: E221 multiple spaces before operator
Line 196:47: E251 unexpected spaces around keyword / parameter equals
Line 196:52: E251 unexpected spaces around keyword / parameter equals
Line 196:80: E501 line too long (85 > 79 characters)
Line 197:39: E124 closing bracket does not match visual indentation
Line 202:39: E128 continuation line under-indented for visual indent
Line 203:39: E128 continuation line under-indented for visual indent
Line 203:46: E221 multiple spaces before operator
Line 203:46: E251 unexpected spaces around keyword / parameter equals
Line 203:52: E251 unexpected spaces around keyword / parameter equals
Line 204:39: E128 continuation line under-indented for visual indent
Line 204:44: E221 multiple spaces before operator
Line 204:44: E251 unexpected spaces around keyword / parameter equals
Line 204:52: E251 unexpected spaces around keyword / parameter equals
Line 205:39: E128 continuation line under-indented for visual indent
Line 205:47: E221 multiple spaces before operator
Line 205:47: E251 unexpected spaces around keyword / parameter equals
Line 205:52: E251 unexpected spaces around keyword / parameter equals
Line 206:39: E124 closing bracket does not match visual indentation
Line 211:80: E501 line too long (80 > 79 characters)
Line 212:63: E712 comparison to False should be 'if cond is False:' or 'if not cond:'
Line 214:29: E128 continuation line under-indented for visual indent
Line 214:37: E221 multiple spaces before operator
Line 214:37: E251 unexpected spaces around keyword / parameter equals
Line 214:45: E251 unexpected spaces around keyword / parameter equals
Line 220:29: E128 continuation line under-indented for visual indent
Line 220:57: E251 unexpected spaces around keyword / parameter equals
Line 220:59: E251 unexpected spaces around keyword / parameter equals
Line 220:80: E501 line too long (88 > 79 characters)
Line 222:80: E501 line too long (86 > 79 characters)
Line 252:80: E501 line too long (91 > 79 characters)
Line 268:1: W293 blank line contains whitespace
Line 488:80: E501 line too long (151 > 79 characters)

Line 49:37: E124 closing bracket does not match visual indentation
Line 95:1: W293 blank line contains whitespace
Line 109:33: E231 missing whitespace after ','
Line 152:10: E225 missing whitespace around operator
Line 155:18: E124 closing bracket does not match visual indentation
Line 170:28: E127 continuation line over-indented for visual indent

Line 174:1: E302 expected 2 blank lines, found 1
Line 180:1: E302 expected 2 blank lines, found 1
Line 198:1: E302 expected 2 blank lines, found 1

Line 45:21: E225 missing whitespace around operator
Line 69:21: E225 missing whitespace around operator

Line 13:1: W293 blank line contains whitespace
Line 119:10: E221 multiple spaces before operator
Line 119:21: E261 at least two spaces before inline comment
Line 120:9: E221 multiple spaces before operator
Line 122:1: W293 blank line contains whitespace
Line 123:26: E231 missing whitespace after ','
Line 128:28: E231 missing whitespace after ','
Line 129:80: E501 line too long (83 > 79 characters)
Line 130:1: W293 blank line contains whitespace
Line 142:45: E231 missing whitespace after ','
Line 167:18: E221 multiple spaces before operator
Line 167:42: E231 missing whitespace after ','
Line 167:46: E231 missing whitespace after ','
Line 276:10: E221 multiple spaces before operator
Line 277:17: E221 multiple spaces before operator
Line 279:15: E221 multiple spaces before operator
Line 280:13: E221 multiple spaces before operator
Line 281:5: E301 expected 1 blank line, found 0
Line 294:80: E501 line too long (100 > 79 characters)
Line 311:52: E231 missing whitespace after ','
Line 332:1: W293 blank line contains whitespace
Line 348:1: E302 expected 2 blank lines, found 1
Line 352:15: E221 multiple spaces before operator
Line 353:16: E221 multiple spaces before operator
Line 354:24: E221 multiple spaces before operator
Line 363:15: E221 multiple spaces before operator
Line 364:15: E221 multiple spaces before operator
Line 365:16: E221 multiple spaces before operator
Line 366:26: E221 multiple spaces before operator
Line 367:23: E221 multiple spaces before operator
Line 368:33: E221 multiple spaces before operator
Line 369:33: E221 multiple spaces before operator
Line 370:16: E221 multiple spaces before operator
Line 371:19: E221 multiple spaces before operator
Line 372:22: E221 multiple spaces before operator
Line 373:19: E221 multiple spaces before operator
Line 374:33: E221 multiple spaces before operator
Line 375:25: E221 multiple spaces before operator
Line 376:20: E221 multiple spaces before operator
Line 377:28: E221 multiple spaces before operator
Line 378:26: E221 multiple spaces before operator
Line 379:24: E221 multiple spaces before operator
Line 380:1: W293 blank line contains whitespace
Line 383:1: W293 blank line contains whitespace
Line 385:25: E221 multiple spaces before operator
Line 387:26: E221 multiple spaces before operator
Line 387:80: E501 line too long (95 > 79 characters)
Line 388:31: E221 multiple spaces before operator
Line 389:1: W293 blank line contains whitespace
Line 402:1: W293 blank line contains whitespace
Line 403:37: E711 comparison to None should be 'if cond is None:'
Line 418:80: E501 line too long (90 > 79 characters)
Line 423:1: W293 blank line contains whitespace
Line 439:80: E231 missing whitespace after ','
Line 439:80: E501 line too long (114 > 79 characters)
Line 471:80: E501 line too long (80 > 79 characters)
Line 473:13: E221 multiple spaces before operator
Line 473:80: E501 line too long (82 > 79 characters)
Line 474:16: E221 multiple spaces before operator
Line 487:1: W293 blank line contains whitespace
Line 488:46: E251 unexpected spaces around keyword / parameter equals
Line 488:48: E251 unexpected spaces around keyword / parameter equals
Line 496:14: E231 missing whitespace after ','
Line 498:38: E231 missing whitespace after ','
Line 501:80: E501 line too long (80 > 79 characters)
Line 502:47: E231 missing whitespace after ','
Line 503:1: W293 blank line contains whitespace
Line 506:1: W293 blank line contains whitespace
Line 511:1: W293 blank line contains whitespace
Line 524:30: E231 missing whitespace after ','
Line 524:62: E231 missing whitespace after ','
Line 524:80: E501 line too long (85 > 79 characters)
Line 576:21: E221 multiple spaces before operator
Line 605:1: W293 blank line contains whitespace
Line 644:1: W293 blank line contains whitespace
Line 765:26: E231 missing whitespace after ','
Line 765:29: E231 missing whitespace after ','
Line 772:40: E231 missing whitespace after ','
Line 772:49: E231 missing whitespace after ','
Line 775:24: E221 multiple spaces before operator
Line 775:80: E501 line too long (98 > 79 characters)
Line 775:91: E251 unexpected spaces around keyword / parameter equals
Line 775:93: E251 unexpected spaces around keyword / parameter equals
Line 776:22: E701 multiple statements on one line (colon)
Line 784:40: E231 missing whitespace after ','
Line 784:49: E231 missing whitespace after ','
Line 791:1: W293 blank line contains whitespace
Line 799:45: E231 missing whitespace after ','
Line 799:54: E231 missing whitespace after ','
Line 799:56: E231 missing whitespace after ','

Line 43:80: E501 line too long (82 > 79 characters)
Line 54:23: E221 multiple spaces before operator
Line 54:23: E251 unexpected spaces around keyword / parameter equals
Line 54:32: E251 unexpected spaces around keyword / parameter equals
Line 55:26: E221 multiple spaces before operator
Line 55:26: E251 unexpected spaces around keyword / parameter equals
Line 55:32: E251 unexpected spaces around keyword / parameter equals
Line 57:21: E221 multiple spaces before operator
Line 58:19: E221 multiple spaces before operator
Line 59:26: E221 multiple spaces before operator
Line 60:21: E221 multiple spaces before operator
Line 61:17: E221 multiple spaces before operator
Line 62:20: E221 multiple spaces before operator
Line 72:19: E221 multiple spaces before operator
Line 79:25: E221 multiple spaces before operator
Line 80:21: E221 multiple spaces before operator
Line 80:47: E251 unexpected spaces around keyword / parameter equals
Line 80:49: E251 unexpected spaces around keyword / parameter equals
Line 80:73: E225 missing whitespace around operator
Line 80:80: E501 line too long (138 > 79 characters)
Line 80:97: E261 at least two spaces before inline comment
Line 94:23: E701 multiple statements on one line (colon)
Line 94:28: E221 multiple spaces before operator
Line 110:1: W293 blank line contains whitespace
Line 116:10: E221 multiple spaces before operator
Line 118:80: E501 line too long (94 > 79 characters)
Line 119:29: E231 missing whitespace after ','
Line 120:1: W293 blank line contains whitespace
Line 124:1: W293 blank line contains whitespace
Line 141:24: E228 missing whitespace around modulo operator
Line 148:80: E501 line too long (83 > 79 characters)
Line 155:1: E302 expected 2 blank lines, found 1
Line 181:33: E225 missing whitespace around operator
Line 186:63: E202 whitespace before ')'
Line 186:80: E501 line too long (96 > 79 characters)
Line 192:24: E221 multiple spaces before operator
Line 196:1: E302 expected 2 blank lines, found 1
Line 204:21: E221 multiple spaces before operator
Line 205:20: E221 multiple spaces before operator
Line 210:21: E221 multiple spaces before operator
Line 210:77: E251 unexpected spaces around keyword / parameter equals
Line 210:79: E251 unexpected spaces around keyword / parameter equals
Line 210:80: E501 line too long (87 > 79 characters)
Line 215:29: E221 multiple spaces before operator
Line 216:33: E221 multiple spaces before operator
Line 220:1: W293 blank line contains whitespace
Line 229:26: E221 multiple spaces before operator
Line 230:24: E221 multiple spaces before operator
Line 230:80: E501 line too long (80 > 79 characters)
Line 237:1: E302 expected 2 blank lines, found 1
Line 243:7: E221 multiple spaces before operator
Line 244:18: E221 multiple spaces before operator
Line 244:25: E261 at least two spaces before inline comment
Line 245:15: E221 multiple spaces before operator
Line 245:25: E261 at least two spaces before inline comment
Line 246:1: W293 blank line contains whitespace
Line 285:21: E221 multiple spaces before operator
Line 286:20: E221 multiple spaces before operator
Line 293:62: E251 unexpected spaces around keyword / parameter equals
Line 293:64: E251 unexpected spaces around keyword / parameter equals
Line 294:47: E231 missing whitespace after ','
Line 295:70: E231 missing whitespace after ','
Line 295:80: E501 line too long (89 > 79 characters)
Line 299:64: E231 missing whitespace after ','
Line 301:80: E501 line too long (84 > 79 characters)
Line 317:80: E501 line too long (85 > 79 characters)
Line 338:23: E221 multiple spaces before operator
Line 338:57: E231 missing whitespace after ','
Line 339:25: E221 multiple spaces before operator
Line 346:33: E221 multiple spaces before operator
Line 368:26: E221 multiple spaces before operator
Line 369:24: E221 multiple spaces before operator
Line 369:80: E501 line too long (80 > 79 characters)
Line 376:1: E302 expected 2 blank lines, found 1
Line 391:12: E261 at least two spaces before inline comment
Line 392:6: E221 multiple spaces before operator
Line 393:5: E301 expected 1 blank line, found 0
Line 393:22: E231 missing whitespace after ','
Line 393:31: E231 missing whitespace after ','
Line 393:37: E231 missing whitespace after ','
Line 395:15: E221 multiple spaces before operator
Line 401:80: E501 line too long (89 > 79 characters)

Line 14:28: E231 missing whitespace after ','
Line 35:18: E225 missing whitespace around operator
Line 35:46: E231 missing whitespace after ','
Line 35:56: E231 missing whitespace after ','
Line 35:68: E231 missing whitespace after ','
Line 35:79: E231 missing whitespace after ','
Line 35:80: E501 line too long (92 > 79 characters)

Line 4:1: E302 expected 2 blank lines, found 1
Line 4:20: E231 missing whitespace after ','
Line 8:1: E302 expected 2 blank lines, found 1
Line 12:41: E251 unexpected spaces around keyword / parameter equals
Line 12:43: E251 unexpected spaces around keyword / parameter equals
Line 13:18: E221 multiple spaces before operator
Line 14:18: E221 multiple spaces before operator
Line 15:19: E221 multiple spaces before operator
Line 16:19: E221 multiple spaces before operator
Line 16:27: E231 missing whitespace after ','
Line 16:31: E231 missing whitespace after ','
Line 16:37: E231 missing whitespace after ','
Line 16:42: E231 missing whitespace after ','
Line 17:28: E231 missing whitespace after ','
Line 17:33: E231 missing whitespace after ','
Line 17:37: E231 missing whitespace after ','
Line 17:42: E231 missing whitespace after ','
Line 17:47: E231 missing whitespace after ','
Line 17:52: E231 missing whitespace after ','
Line 17:64: E231 missing whitespace after ','
Line 17:76: E231 missing whitespace after ','
Line 17:80: E501 line too long (90 > 79 characters)
Line 17:81: E231 missing whitespace after ','
Line 19:28: E231 missing whitespace after ','
Line 23:1: W293 blank line contains whitespace
Line 24:23: E231 missing whitespace after ','
Line 25:32: E231 missing whitespace after ','
Line 27:1: W293 blank line contains whitespace
Line 29:30: E251 unexpected spaces around keyword / parameter equals
Line 29:32: E251 unexpected spaces around keyword / parameter equals
Line 29:41: E231 missing whitespace after ':'
Line 29:60: E231 missing whitespace after ':'
Line 29:80: E501 line too long (85 > 79 characters)
Line 31:1: W293 blank line contains whitespace
Line 35:1: E305 expected 2 blank lines after class or function definition, found 1
Line 36:9: E221 multiple spaces before operator
Line 36:28: E231 missing whitespace after ','
Line 36:32: E231 missing whitespace after ','
Line 38:31: E231 missing whitespace after ','
Line 38:37: E231 missing whitespace after ','
Line 38:42: E251 unexpected spaces around keyword / parameter equals
Line 38:44: E251 unexpected spaces around keyword / parameter equals
Line 39:17: E231 missing whitespace after ':'
Line 39:21: E231 missing whitespace after ','
Line 39:25: E231 missing whitespace after ':'
Line 39:28: E231 missing whitespace after ','
Line 39:34: E231 missing whitespace after ':'
Line 39:38: E231 missing whitespace after ','
Line 39:43: E231 missing whitespace after ':'
Line 39:47: E231 missing whitespace after ','
Line 39:53: E231 missing whitespace after ':'
Line 40:33: E231 missing whitespace after ','
Line 42:10: E225 missing whitespace around operator
Line 43:9: E225 missing whitespace around operator
Line 43:80: E501 line too long (115 > 79 characters)

Line 9:10: E225 missing whitespace around operator
Line 9:15: E231 missing whitespace after ','
Line 9:19: E231 missing whitespace after ','
Line 9:23: E231 missing whitespace after ','
Line 9:27: E231 missing whitespace after ','
Line 10:11: E225 missing whitespace around operator
Line 10:15: E231 missing whitespace after ','
Line 10:27: E231 missing whitespace after ','
Line 10:30: E231 missing whitespace after ','
Line 10:42: E231 missing whitespace after ','
Line 10:45: E231 missing whitespace after ','
Line 10:57: E231 missing whitespace after ','
Line 10:60: E231 missing whitespace after ','
Line 10:72: E231 missing whitespace after ','
Line 10:75: E231 missing whitespace after ','
Line 10:80: E501 line too long (87 > 79 characters)
Line 27:9: E225 missing whitespace around operator
Line 27:25: E231 missing whitespace after ','
Line 27:35: E231 missing whitespace after ','
Line 27:47: E231 missing whitespace after ','
Line 27:58: E231 missing whitespace after ','
Line 27:71: E231 missing whitespace after ','
Line 27:80: E501 line too long (80 > 79 characters)

Line 44:18: E225 missing whitespace around operator
Line 44:55: E231 missing whitespace after ','
Line 44:65: E231 missing whitespace after ','
Line 44:77: E231 missing whitespace after ','
Line 44:80: E501 line too long (110 > 79 characters)
Line 44:88: E231 missing whitespace after ','
Line 44:101: E231 missing whitespace after ','

Line 36:18: E225 missing whitespace around operator
Line 36:80: E501 line too long (88 > 79 characters)

Line 29:1: W293 blank line contains whitespace
Line 39:18: E225 missing whitespace around operator
Line 39:80: E501 line too long (129 > 79 characters)
Line 51:1: E115 expected an indented block (comment)
Line 52:10: E225 missing whitespace around operator
Line 52:28: E251 unexpected spaces around keyword / parameter equals
Line 52:30: E251 unexpected spaces around keyword / parameter equals
Line 53:9: E225 missing whitespace around operator
Line 53:80: E501 line too long (115 > 79 characters)

Line 27:55: E231 missing whitespace after ','
Line 27:69: E231 missing whitespace after ','
Line 27:78: E231 missing whitespace after ','
Line 27:80: E501 line too long (99 > 79 characters)
Line 36:55: E231 missing whitespace after ','
Line 36:69: E231 missing whitespace after ','
Line 36:78: E231 missing whitespace after ','
Line 36:80: E501 line too long (99 > 79 characters)

Line 34:18: E225 missing whitespace around operator
Line 34:43: E231 missing whitespace after ','
Line 34:53: E231 missing whitespace after ','
Line 34:64: E231 missing whitespace after ','
Line 34:76: E231 missing whitespace after ','
Line 34:80: E501 line too long (88 > 79 characters)

Line 31:18: E225 missing whitespace around operator
Line 31:43: E231 missing whitespace after ','
Line 31:53: E231 missing whitespace after ','
Line 31:65: E231 missing whitespace after ','
Line 31:76: E231 missing whitespace after ','
Line 31:80: E501 line too long (112 > 79 characters)
Line 31:88: E231 missing whitespace after ','
Line 31:97: E231 missing whitespace after ','

Line 24:1: W293 blank line contains whitespace
Line 33:18: E225 missing whitespace around operator
Line 33:48: E231 missing whitespace after ','
Line 33:58: E231 missing whitespace after ','
Line 33:70: E231 missing whitespace after ','
Line 33:80: E501 line too long (108 > 79 characters)
Line 33:81: E231 missing whitespace after ','
Line 33:93: E231 missing whitespace after ','

Line 30:18: E225 missing whitespace around operator
Line 30:48: E231 missing whitespace after ','
Line 30:58: E231 missing whitespace after ','
Line 30:70: E231 missing whitespace after ','
Line 30:80: E501 line too long (103 > 79 characters)
Line 30:81: E231 missing whitespace after ','
Line 30:94: E231 missing whitespace after ','

Line 31:18: E225 missing whitespace around operator
Line 31:43: E231 missing whitespace after ','
Line 31:53: E231 missing whitespace after ','
Line 31:65: E231 missing whitespace after ','
Line 31:75: E231 missing whitespace after ','
Line 31:80: E501 line too long (87 > 79 characters)

Line 34:18: E225 missing whitespace around operator
Line 34:43: E231 missing whitespace after ','
Line 34:53: E231 missing whitespace after ','
Line 34:63: E231 missing whitespace after ','

Line 31:18: E225 missing whitespace around operator
Line 31:43: E231 missing whitespace after ','
Line 31:53: E231 missing whitespace after ','
Line 31:65: E231 missing whitespace after ','
Line 31:76: E231 missing whitespace after ','
Line 31:80: E501 line too long (89 > 79 characters)

Line 31:18: E225 missing whitespace around operator
Line 31:43: E231 missing whitespace after ','
Line 31:53: E231 missing whitespace after ','
Line 31:65: E231 missing whitespace after ','
Line 31:74: E231 missing whitespace after ','
Line 31:80: E501 line too long (98 > 79 characters)
Line 31:85: E231 missing whitespace after ','

Line 33:54: E231 missing whitespace after ','
Line 33:64: E231 missing whitespace after ','
Line 33:76: E231 missing whitespace after ','
Line 33:80: E501 line too long (99 > 79 characters)
Line 33:86: E231 missing whitespace after ','

Comment last updated at 2021-07-24 10:17:07 UTC

@johnveitch
Copy link
Owner

Hi Walter,
Apologies for the delay. It seems like I can install ray now using python3.9 on ubuntu, but the code fails to run with ray. I'll try to figure out what's going on but I'd encourage you to give it a go on Linux yourself too. The error I see is

2021-07-05 17:14:13,537 ERROR services.py:1281 -- Failed to start the dashboard: Failed to read dashbord log: [Errno 2] No such file or directory: '/tmp/ray/session_2021-07-05_17-14-12_897364_1069779/logs/dashboard.log'
/home/john/.local/lib/python3.9/site-packages/ray/node.py:890: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/ray/session_2021-07-05_17-14-12_897364_1069779/logs/raylet.out' mode='a' encoding='utf-8'>
  self.start_raylet(plasma_directory, object_store_memory)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/home/john/.local/lib/python3.9/site-packages/ray/node.py:890: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/ray/session_2021-07-05_17-14-12_897364_1069779/logs/raylet.err' mode='a' encoding='utf-8'>
  self.start_raylet(plasma_directory, object_store_memory)
ResourceWarning: Enable tracemalloc to get the object allocation traceback

@wdpozzo
Copy link
Collaborator Author

wdpozzo commented Jul 5, 2021 via email

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.

3 participants