Closed Batcastle closed 4 years ago
Hello @Batcastle! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:
usr/share/system-installer/UI/error.py
:Line 28:1: E402 module level import not at top of file Line 29:1: E402 module level import not at top of file
usr/share/system-installer/UI/progress.py
:Line 29:1: E402 module level import not at top of file Line 30:1: E402 module level import not at top of file Line 34:1: E302 expected 2 blank lines, found 1 Line 37:5: E115 expected an indented block (comment) Line 59:9: E303 too many blank lines (2) Line 91:5: E303 too many blank lines (2) Line 116:1: E302 expected 2 blank lines, found 1 Line 129:1: E302 expected 2 blank lines, found 1 Line 136:1: E302 expected 2 blank lines, found 1 Line 142:1: E305 expected 2 blank lines after class or function definition, found 1
usr/share/system-installer/UI/success.py
:Line 32:1: E402 module level import not at top of file Line 33:1: E402 module level import not at top of file Line 35:1: E302 expected 2 blank lines, found 1 Line 127:80: E501 line too long (86 > 79 characters) Line 234:80: E501 line too long (82 > 79 characters) Line 235:80: E501 line too long (81 > 79 characters) Line 240:9: E303 too many blank lines (2) Line 246:1: E302 expected 2 blank lines, found 1 Line 251:1: E305 expected 2 blank lines after class or function definition, found 1 Line 270:1: E302 expected 2 blank lines, found 1 Line 280:1: E302 expected 2 blank lines, found 1 Line 284:1: E305 expected 2 blank lines after class or function definition, found 1
usr/share/system-installer/engine.py
:Line 44:1: E303 too many blank lines (3) Line 56:80: E501 line too long (81 > 79 characters) Line 102:80: E501 line too long (86 > 79 characters) Line 109:80: E501 line too long (86 > 79 characters) Line 110:80: E501 line too long (109 > 79 characters)
usr/share/system-installer/installer.py
:Line 116:80: E501 line too long (86 > 79 characters) Line 188:55: W504 line break after binary operator Line 210:80: E501 line too long (90 > 79 characters) Line 222:80: E501 line too long (90 > 79 characters) Line 234:80: E501 line too long (90 > 79 characters) Line 261:80: E501 line too long (81 > 79 characters) Line 265:62: W504 line break after binary operator Line 266:80: E501 line too long (92 > 79 characters) Line 276:52: W504 line break after binary operator
usr/share/system-installer/modules/make_swap.py
:Line 33:1: E302 expected 2 blank lines, found 1 Line 70:1: E305 expected 2 blank lines after class or function definition, found 1
usr/share/system-installer/modules/master.py
:Line 29:80: E501 line too long (80 > 79 characters) Line 47:1: E302 expected 2 blank lines, found 1 Line 51:1: E302 expected 2 blank lines, found 1 Line 65:1: E302 expected 2 blank lines, found 1 Line 74:1: E302 expected 2 blank lines, found 1 Line 83:80: E501 line too long (85 > 79 characters) Line 166:80: E501 line too long (82 > 79 characters) Line 215:80: E501 line too long (103 > 79 characters) Line 217:1: E302 expected 2 blank lines, found 1 Line 233:1: E302 expected 2 blank lines, found 1 Line 246:80: E501 line too long (90 > 79 characters) Line 253:1: E302 expected 2 blank lines, found 1 Line 272:1: E302 expected 2 blank lines, found 1 Line 285:80: E501 line too long (84 > 79 characters) Line 307:80: E501 line too long (103 > 79 characters) Line 311:80: E501 line too long (114 > 79 characters) Line 317:80: E501 line too long (90 > 79 characters) Line 319:80: E501 line too long (80 > 79 characters) Line 322:80: E501 line too long (85 > 79 characters) Line 332:80: E501 line too long (90 > 79 characters) Line 338:1: E302 expected 2 blank lines, found 1 Line 344:80: E501 line too long (88 > 79 characters) Line 351:80: E501 line too long (85 > 79 characters) Line 359:80: E501 line too long (109 > 79 characters) Line 360:80: E501 line too long (109 > 79 characters) Line 368:80: E501 line too long (94 > 79 characters) Line 376:26: W605 invalid escape sequence '\W' Line 376:80: E501 line too long (112 > 79 characters) Line 377:80: E501 line too long (119 > 79 characters) Line 434:1: E303 too many blank lines (4) Line 440:1: E302 expected 2 blank lines, found 1 Line 443:80: E501 line too long (84 > 79 characters) Line 446:80: E501 line too long (84 > 79 characters) Line 448:1: E302 expected 2 blank lines, found 1 Line 460:1: E305 expected 2 blank lines after class or function definition, found 1 Line 480:9: E116 unexpected indentation (comment) Line 482:9: E116 unexpected indentation (comment)