Open fwitte opened 7 months ago
Hello @fwitte! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
src/tespy/components/component.py
:Line 221:80: E501 line too long (99 > 79 characters) Line 221:90: E251 unexpected spaces around keyword / parameter equals Line 221:92: E251 unexpected spaces around keyword / parameter equals
src/tespy/components/nodes/base.py
:Line 174:25: E261 at least two spaces before inline comment Line 175:23: W291 trailing whitespace Line 206:25: E261 at least two spaces before inline comment
src/tespy/connections/connection.py
:Line 496:46: E231 missing whitespace after ':' Line 620:80: E501 line too long (115 > 79 characters) Line 623:80: E501 line too long (85 > 79 characters) Line 665:80: E501 line too long (123 > 79 characters) Line 669:80: E501 line too long (81 > 79 characters) Line 670:80: E501 line too long (114 > 79 characters) Line 674:80: E501 line too long (105 > 79 characters) Line 679:80: E501 line too long (89 > 79 characters) Line 680:80: E501 line too long (105 > 79 characters) Line 753:80: E501 line too long (125 > 79 characters) Line 761:80: E501 line too long (136 > 79 characters) Line 765:80: E501 line too long (136 > 79 characters) Line 769:80: E501 line too long (116 > 79 characters) Line 805:80: E501 line too long (129 > 79 characters) Line 849:80: E501 line too long (110 > 79 characters) Line 855:80: E501 line too long (116 > 79 characters) Line 859:80: E501 line too long (121 > 79 characters) Line 901:80: E501 line too long (140 > 79 characters) Line 920:34: E713 test for membership should be 'not in' Line 920:80: E501 line too long (195 > 79 characters) Line 921:80: E501 line too long (126 > 79 characters) Line 991:71: E231 missing whitespace after ',' Line 991:80: E501 line too long (99 > 79 characters) Line 1009:80: E501 line too long (105 > 79 characters) Line 1042:17: E225 missing whitespace around operator Line 1043:17: E225 missing whitespace around operator Line 1055:80: E501 line too long (109 > 79 characters) Line 1056:80: E501 line too long (109 > 79 characters)
src/tespy/networks/network.py
:Line 755:14: E231 missing whitespace after ',' Line 757:21: E231 missing whitespace after ',' Line 757:50: E231 missing whitespace after ',' Line 758:17: E265 block comment should start with '# ' Line 758:80: E501 line too long (83 > 79 characters) Line 775:80: E501 line too long (86 > 79 characters) Line 785:14: E231 missing whitespace after ',' Line 787:21: E231 missing whitespace after ',' Line 787:50: E231 missing whitespace after ',' Line 788:17: E265 block comment should start with '# ' Line 788:80: E501 line too long (83 > 79 characters) Line 810:46: E231 missing whitespace after ',' Line 1127:80: E501 line too long (81 > 79 characters) Line 1129:80: E501 line too long (80 > 79 characters) Line 1288:41: E231 missing whitespace after ',' Line 1291:80: E501 line too long (97 > 79 characters) Line 1292:80: E501 line too long (126 > 79 characters) Line 1741:26: E231 missing whitespace after ',' Line 1790:80: E501 line too long (85 > 79 characters) Line 1794:80: E501 line too long (87 > 79 characters) Line 1855:80: E501 line too long (124 > 79 characters) Line 1862:80: E501 line too long (135 > 79 characters) Line 1867:5: E303 too many blank lines (2) Line 2111:80: E501 line too long (80 > 79 characters) Line 2249:26: E221 multiple spaces before operator Line 2249:80: E501 line too long (108 > 79 characters) Line 2249:86: E261 at least two spaces before inline comment Line 2250:26: E221 multiple spaces before operator Line 2250:59: E261 at least two spaces before inline comment Line 2251:26: E221 multiple spaces before operator Line 2251:59: E261 at least two spaces before inline comment Line 2251:80: E501 line too long (80 > 79 characters) Line 2252:23: E221 multiple spaces before operator Line 2252:80: E501 line too long (109 > 79 characters) Line 2252:87: E261 at least two spaces before inline comment Line 2259:22: E221 multiple spaces before operator Line 2264:80: E501 line too long (103 > 79 characters) Line 2346:80: E501 line too long (85 > 79 characters) Line 2355:80: E501 line too long (85 > 79 characters) Line 2379:80: E501 line too long (87 > 79 characters) Line 2395:80: E501 line too long (86 > 79 characters) Line 2475:14: E261 at least two spaces before inline comment Line 2475:15: E262 inline comment should start with '# ' Line 2622:42: E231 missing whitespace after ',' Line 2623:80: E501 line too long (93 > 79 characters) Line 2624:73: E261 at least two spaces before inline comment Line 2624:80: E501 line too long (120 > 79 characters) Line 2625:80: E501 line too long (127 > 79 characters)
src/tespy/networks/network_reader.py
:Line 338:80: E501 line too long (85 > 79 characters) Line 341:80: E501 line too long (84 > 79 characters)
src/tespy/tools/data_containers.py
:Line 328:80: E501 line too long (82 > 79 characters) Line 595:1: E302 expected 2 blank lines, found 1
src/tespy/tools/fluid_properties/functions.py
:Line 96:80: E501 line too long (85 > 79 characters) Line 99:21: E225 missing whitespace around operator Line 99:30: E225 missing whitespace around operator Line 104:62: E203 whitespace before ':' Line 111:80: E501 line too long (99 > 79 characters) Line 112:80: E501 line too long (102 > 79 characters) Line 118:80: E501 line too long (99 > 79 characters) Line 119:80: E501 line too long (102 > 79 characters) Line 123:80: E501 line too long (91 > 79 characters) Line 126:80: E501 line too long (95 > 79 characters) Line 128:80: E501 line too long (98 > 79 characters) Line 139:80: E501 line too long (86 > 79 characters) Line 150:80: E501 line too long (80 > 79 characters) Line 151:80: E501 line too long (80 > 79 characters) Line 153:80: E501 line too long (93 > 79 characters) Line 171:80: E501 line too long (80 > 79 characters) Line 172:80: E501 line too long (80 > 79 characters) Line 173:21: E225 missing whitespace around operator Line 175:23: E225 missing whitespace around operator Line 183:80: E501 line too long (93 > 79 characters) Line 194:80: E501 line too long (93 > 79 characters) Line 206:80: E501 line too long (93 > 79 characters) Line 225:80: E501 line too long (80 > 79 characters) Line 226:80: E501 line too long (80 > 79 characters) Line 227:21: E225 missing whitespace around operator Line 227:30: E225 missing whitespace around operator Line 229:80: E501 line too long (84 > 79 characters) Line 230:80: E501 line too long (84 > 79 characters) Line 232:26: E203 whitespace before ',' Line 232:80: E501 line too long (81 > 79 characters) Line 242:80: E501 line too long (86 > 79 characters) Line 253:62: E203 whitespace before ':' Line 266:80: E501 line too long (80 > 79 characters) Line 267:80: E501 line too long (80 > 79 characters) Line 268:21: E225 missing whitespace around operator Line 268:30: E225 missing whitespace around operator Line 270:80: E501 line too long (84 > 79 characters) Line 271:80: E501 line too long (84 > 79 characters) Line 273:26: E203 whitespace before ',' Line 273:80: E501 line too long (81 > 79 characters) Line 297:80: E501 line too long (86 > 79 characters) Line 315:80: E501 line too long (94 > 79 characters)
src/tespy/tools/fluid_properties/helpers.py
:Line 67:80: E501 line too long (112 > 79 characters)
src/tespy/tools/fluid_properties/mixtures.py
:Line 84:1: W293 blank line contains whitespace Line 174:80: E501 line too long (81 > 79 characters) Line 230:80: E501 line too long (93 > 79 characters)
src/tespy/tools/fluid_properties/wrappers.py
:Line 204:17: E722 do not use bare 'except' Line 209:80: E501 line too long (92 > 79 characters) Line 214:21: E722 do not use bare 'except' Line 216:42: E231 missing whitespace after ',' Line 216:80: E501 line too long (91 > 79 characters) Line 221:21: E722 do not use bare 'except'
src/tespy/tools/global_vars.py
:Line 23:23: E203 whitespace before ',' Line 23:80: E501 line too long (81 > 79 characters) Line 24:80: E501 line too long (83 > 79 characters) Line 25:80: E501 line too long (83 > 79 characters) Line 26:80: E501 line too long (83 > 79 characters) Line 27:80: E501 line too long (84 > 79 characters) Line 28:28: E203 whitespace before ',' Line 28:80: E501 line too long (93 > 79 characters) Line 29:80: E501 line too long (93 > 79 characters) Line 30:80: E501 line too long (93 > 79 characters) Line 31:80: E501 line too long (94 > 79 characters) Line 32:80: E501 line too long (94 > 79 characters) Line 34:9: E265 block comment should start with '# ' Line 35:9: E265 block comment should start with '# ' Line 41:80: E501 line too long (84 > 79 characters) Line 43:9: E265 block comment should start with '# ' Line 44:9: E265 block comment should start with '# ' Line 50:24: E203 whitespace before ',' Line 51:27: E203 whitespace before ',' Line 52:27: E203 whitespace before ',' Line 53:27: E203 whitespace before ',' Line 54:28: E203 whitespace before ',' Line 56:29: E203 whitespace before ',' Line 57:30: E203 whitespace before ',' Line 58:30: E203 whitespace before ',' Line 59:31: E203 whitespace before ',' Line 60:31: E203 whitespace before ',' Line 62:9: E265 block comment should start with '# ' Line 63:9: E265 block comment should start with '# ' Line 70:80: E501 line too long (94 > 79 characters) Line 72:9: E265 block comment should start with '# ' Line 73:9: E265 block comment should start with '# ' Line 85:80: E501 line too long (94 > 79 characters) Line 86:80: E501 line too long (94 > 79 characters)
src/tespy/tools/helpers.py
:Line 113:1: E302 expected 2 blank lines, found 1 Line 119:1: E302 expected 2 blank lines, found 1
PR in favor of #502