Comments (1)
Result of the 2nd command:
./mars/kvstore.py:77:5: C901 'LocalKVStore.watch' is too complex (11)
./mars/kvstore.py:165:5: C901 'LocalKVStore.delete' is too complex (11)
./mars/promise.py:97:13: E722 do not use bare 'except'
./mars/promise.py:137:5: C901 'Promise.step_next' is too complex (13)
./mars/promise.py:145:17: E722 do not use bare 'except'
./mars/promise.py:293:9: E722 do not use bare 'except'
./mars/base_app.py:68:13: E722 do not use bare 'except'
./mars/base_app.py:73:5: C901 'BaseApplication._main' is too complex (11)
./mars/base_app.py:172:17: E722 do not use bare 'except'
./mars/base_app.py:210:17: E722 do not use bare 'except'
./mars/config.py:267:1: E731 do not assign a lambda expression, use a def
./mars/config.py:268:1: E731 do not assign a lambda expression, use a def
./mars/config.py:269:1: E731 do not assign a lambda expression, use a def
./mars/config.py:270:1: E731 do not assign a lambda expression, use a def
./mars/config.py:271:1: E731 do not assign a lambda expression, use a def
./mars/config.py:272:1: E731 do not assign a lambda expression, use a def
./mars/config.py:273:1: E731 do not assign a lambda expression, use a def
./mars/config.py:274:1: E302 expected 2 blank lines, found 0
./mars/_version.py:22:1: C901 'get_git_info' is too complex (11)
./mars/tiles.py:132:5: C901 'OperandTilesHandler.tiles' is too complex (14)
./mars/node_info.py:23:1: E402 module level import not at top of file
./mars/node_info.py:24:1: E402 module level import not at top of file
./mars/node_info.py:25:1: E402 module level import not at top of file
./mars/node_info.py:26:1: E402 module level import not at top of file
./mars/resource.py:72:1: C901 'cpu_percent' is too complex (11)
./mars/utils.py:144:1: C901 'get_next_port' is too complex (12)
./mars/utils.py:258:1: C901 'log_unhandled' is too complex (11)
./mars/utils.py:275:9: E722 do not use bare 'except'
./mars/compat/numpy_compat.py:51:1: C901 'TryExcept 51' is too complex (18)
./mars/web/server.py:129:5: C901 'MarsWeb.start' is too complex (21)
./mars/web/server.py:139:17: E722 do not use bare 'except'
./mars/web/server.py:181:13: E722 do not use bare 'except'
./mars/web/session.py:24:1: F403 'from ..errors import *' used; unable to detect undefined names
./mars/web/session.py:61:5: C901 'Session.run' is too complex (25)
./mars/web/session.py:105:31: F405 'ResponseMalformed' may be undefined, or defined from star imports: ..errors
./mars/web/session.py:112:31: F405 'ExecutionInterrupted' may be undefined, or defined from star imports: ..errors
./mars/web/session.py:119:35: F405 'ExecutionFailed' may be undefined, or defined from star imports: ..errors
./mars/web/session.py:123:35: F405 'ExecutionFailed' may be undefined, or defined from star imports: ..errors
./mars/web/session.py:125:31: F405 'ExecutionStateUnknown' may be undefined, or defined from star imports: ..errors
./mars/web/session.py:130:31: F405 'ExecutionNotStopped' may be undefined, or defined from star imports: ..errors
./mars/web/api.py:87:9: E722 do not use bare 'except'
./mars/web/__main__.py:20:1: E402 module level import not at top of file
./mars/web/__main__.py:21:1: E402 module level import not at top of file
./mars/web/__main__.py:22:1: E402 module level import not at top of file
./mars/web/__main__.py:24:1: E402 module level import not at top of file
./mars/web/__main__.py:25:1: E402 module level import not at top of file
./mars/web/__main__.py:26:1: E402 module level import not at top of file
./mars/web/tests/test_api.py:57:5: C901 'Test.setUp' is too complex (16)
./mars/web/tests/test_api.py:88:13: E722 do not use bare 'except'
./mars/deploy/local/core.py:219:1: C901 'new_cluster' is too complex (11)
./mars/deploy/local/tests/test_cluster.py:90:9: E731 do not assign a lambda expression, use a def
./mars/tests/core.py:179:41: E201 whitespace after '['
./mars/tests/core.py:179:128: E501 line too long (164 > 127 characters)
./mars/tests/core.py:194:9: F841 local variable 'log' is assigned to but never used
./mars/tests/test_config.py:52:17: F841 local variable '_' is assigned to but never used
./mars/scheduler/kvstore.py:50:9: E731 do not assign a lambda expression, use a def
./mars/scheduler/operand.py:28:1: F403 'from ..errors import *' used; unable to detect undefined names
./mars/scheduler/operand.py:127:5: C901 'OperandActor.update_demand_depths' is too complex (11)
./mars/scheduler/operand.py:333:5: C901 'OperandActor._handle_ready' is too complex (11)
./mars/scheduler/operand.py:389:5: C901 'OperandActor._handle_running' is too complex (11)
./mars/scheduler/operand.py:412:43: F405 'ResourceInsufficient' may be undefined, or defined from star imports: ..errors
./mars/scheduler/operand.py:416:45: F405 'ExecutionInterrupted' may be undefined, or defined from star imports: ..errors
./mars/scheduler/operand.py:428:17: E722 do not use bare 'except'
./mars/scheduler/graph.py:252:9: E722 do not use bare 'except'
./mars/scheduler/graph.py:305:5: C901 'GraphActor.prepare_graph' is too complex (34)
./mars/scheduler/graph.py:351:13: F841 local variable '_' is assigned to but never used
./mars/scheduler/graph.py:458:5: C901 'GraphActor.place_initial_chunks' is too complex (21)
./mars/scheduler/session.py:102:9: F841 local variable 'uid' is assigned to but never used
./mars/scheduler/assigner.py:251:13: E722 do not use bare 'except'
./mars/scheduler/assigner.py:335:5: C901 'AssignEvaluationActor._is_stats_sufficient' is too complex (11)
./mars/scheduler/assigner.py:390:5: C901 'AssignEvaluationActor._get_ep_by_worker_stats' is too complex (20)
./mars/scheduler/assigner.py:451:27: E127 continuation line over-indented for visual indent
./mars/scheduler/chunkmeta.py:230:86: E502 the backslash is redundant between brackets
./mars/scheduler/chunkmeta.py:231:21: E128 continuation line under-indented for visual indent
./mars/scheduler/chunkmeta.py:414:97: E502 the backslash is redundant between brackets
./mars/scheduler/chunkmeta.py:444:97: E502 the backslash is redundant between brackets
./mars/scheduler/tests/test_chunkmeta.py:84:9: F841 local variable '_' is assigned to but never used
./mars/scheduler/tests/test_operand.py:50:5: C901 'FakeExecutionActor.actual_exec' is too complex (12)
./mars/scheduler/tests/test_operand.py:57:13: E722 do not use bare 'except'
./mars/scheduler/tests/test_main.py:83:13: E722 do not use bare 'except'
./mars/serialize/dataserializer.py:259:1: C901 'TryExcept 259' is too complex (21)
./mars/serialize/dataserializer.py:273:5: E303 too many blank lines (2)
./mars/serialize/dataserializer.py:336:5: E303 too many blank lines (2)
./mars/serialize/dataserializer.py:339:5: E303 too many blank lines (2)
./mars/serialize/protos/genopcodes.py:25:1: E402 module level import not at top of file
./mars/serialize/protos/genopcodes.py:32:1: W391 blank line at end of file
./mars/actors/pool/tests/test_gevent_pool.py:68:5: C901 'DummyActor.on_receive' is too complex (25)
./mars/actors/pool/tests/test_gevent_pool.py:571:21: F841 local variable '_' is assigned to but never used
./mars/lib/lib_utils.py:23:1: C901 'If 23' is too complex (12)
./mars/lib/lib_utils.py:74:5: E303 too many blank lines (2)
./mars/lib/lib_utils.py:94:1: C901 'If 94' is too complex (18)
./mars/lib/functools32/functools32.py:25:1: E266 too many leading '#' for block comment
./mars/lib/functools32/functools32.py:28:1: E302 expected 2 blank lines, found 1
./mars/lib/functools32/functools32.py:31:1: E302 expected 2 blank lines, found 1
./mars/lib/functools32/functools32.py:236:29: E225 missing whitespace around operator
./mars/lib/functools32/functools32.py:237:25: E225 missing whitespace around operator
./mars/lib/functools32/functools32.py:243:1: E305 expected 2 blank lines after class or function definition, found 1
./mars/lib/functools32/functools32.py:245:1: E302 expected 2 blank lines, found 0
./mars/lib/functools32/functools32.py:247:28: E251 unexpected spaces around keyword / parameter equals
./mars/lib/functools32/functools32.py:247:30: E251 unexpected spaces around keyword / parameter equals
./mars/lib/functools32/functools32.py:248:27: E251 unexpected spaces around keyword / parameter equals
./mars/lib/functools32/functools32.py:248:29: E251 unexpected spaces around keyword / parameter equals
./mars/lib/functools32/functools32.py:273:1: E302 expected 2 blank lines, found 1
./mars/lib/functools32/functools32.py:274:19: E251 unexpected spaces around keyword / parameter equals
./mars/lib/functools32/functools32.py:274:21: E251 unexpected spaces around keyword / parameter equals
./mars/lib/functools32/functools32.py:275:18: E251 unexpected spaces around keyword / parameter equals
./mars/lib/functools32/functools32.py:275:20: E251 unexpected spaces around keyword / parameter equals
./mars/lib/functools32/functools32.py:287:1: E302 expected 2 blank lines, found 1
./mars/lib/functools32/functools32.py:314:1: E302 expected 2 blank lines, found 1
./mars/lib/functools32/functools32.py:318:9: E306 expected 1 blank line before a nested definition, found 0
./mars/lib/functools32/functools32.py:320:9: E306 expected 1 blank line before a nested definition, found 0
./mars/lib/functools32/functools32.py:322:9: E306 expected 1 blank line before a nested definition, found 0
./mars/lib/functools32/functools32.py:324:9: E306 expected 1 blank line before a nested definition, found 0
./mars/lib/functools32/functools32.py:326:9: E306 expected 1 blank line before a nested definition, found 0
./mars/lib/functools32/functools32.py:328:9: E306 expected 1 blank line before a nested definition, found 0
./mars/lib/functools32/functools32.py:330:9: E306 expected 1 blank line before a nested definition, found 0
./mars/lib/functools32/functools32.py:335:1: E305 expected 2 blank lines after class or function definition, found 1
./mars/lib/functools32/functools32.py:337:1: E302 expected 2 blank lines, found 1
./mars/lib/functools32/functools32.py:337:1: C901 'lru_cache' is too complex (14)
./mars/lib/functools32/functools32.py:358:17: E128 continuation line under-indented for visual indent
./mars/lib/functools32/_dummy_thread32.py:30:1: E302 expected 2 blank lines, found 1
./mars/lib/functools32/_dummy_thread32.py:36:1: E302 expected 2 blank lines, found 1
./mars/lib/functools32/_dummy_thread32.py:49:19: E721 do not compare types, use 'isinstance()'
./mars/lib/functools32/_dummy_thread32.py:51:21: E721 do not compare types, use 'isinstance()'
./mars/lib/functools32/_dummy_thread32.py:59:5: E722 do not use bare 'except'
./mars/lib/functools32/_dummy_thread32.py:68:1: E302 expected 2 blank lines, found 1
./mars/lib/functools32/_dummy_thread32.py:72:1: E302 expected 2 blank lines, found 1
./mars/lib/functools32/_dummy_thread32.py:81:1: E302 expected 2 blank lines, found 1
./mars/lib/functools32/_dummy_thread32.py:85:1: E302 expected 2 blank lines, found 1
./mars/lib/functools32/_dummy_thread32.py:91:1: E302 expected 2 blank lines, found 1
./mars/lib/functools32/_dummy_thread32.py:147:1: E305 expected 2 blank lines after class or function definition, found 1
./mars/lib/functools32/_dummy_thread32.py:151:1: E302 expected 2 blank lines, found 1
./mars/lib/functools32/reprlib32.py:12:1: E302 expected 2 blank lines, found 1
./mars/lib/functools32/reprlib32.py:38:1: E302 expected 2 blank lines, found 1
./mars/lib/functools32/reprlib32.py:74:27: E701 multiple statements on one line (colon)
./mars/lib/functools32/reprlib32.py:76:32: E701 multiple statements on one line (colon)
./mars/lib/functools32/reprlib32.py:103:18: E701 multiple statements on one line (colon)
./mars/lib/functools32/reprlib32.py:104:22: E701 multiple statements on one line (colon)
./mars/lib/functools32/reprlib32.py:112:28: E701 multiple statements on one line (colon)
./mars/lib/functools32/reprlib32.py:126:29: E261 at least two spaces before inline comment
./mars/lib/functools32/reprlib32.py:156:1: E305 expected 2 blank lines after class or function definition, found 1
./mars/lib/uhashring/ring.py:44:5: C901 'HashRing._configure_nodes' is too complex (14)
./mars/lib/uhashring/ring.py:272:5: C901 'HashRing.range' is too complex (11)
./mars/lib/sparse/matrix.py:72:5: E731 do not assign a lambda expression, use a def
./mars/lib/sparse/matrix.py:1104:9: E731 do not assign a lambda expression, use a def
./mars/lib/sparse/coo.py:52:23: E225 missing whitespace around operator
./mars/lib/sparse/coo.py:85:128: E501 line too long (144 > 127 characters)
./mars/lib/sparse/coo.py:97:33: E712 comparison to True should be 'if cond is True:' or 'if cond:'
./mars/lib/sparse/coo.py:126:29: E127 continuation line over-indented for visual indent
./mars/lib/sparse/coo.py:186:29: E127 continuation line over-indented for visual indent
./mars/lib/sparse/coo.py:254:36: E712 comparison to True should be 'if cond is True:' or 'if cond:'
./mars/lib/sparse/coo.py:254:36: E225 missing whitespace around operator
./mars/lib/sparse/core.py:90:1: W391 blank line at end of file
./mars/lib/sparse/tests/test_coo.py:74:5: E301 expected 1 blank line, found 0
./mars/lib/sparse/tests/test_coo.py:178:13: F841 local variable 'cs' is assigned to but never used
./mars/lib/sparse/tests/test_coo.py:351:5: E266 too many leading '#' for block comment
./mars/operands/fetch.py:4:2: W291 trailing whitespace
./mars/operands/fetch.py:8:2: W291 trailing whitespace
./mars/operands/fetch.py:10:2: W291 trailing whitespace
./mars/operands/arithmetic.py:4:2: W291 trailing whitespace
./mars/operands/arithmetic.py:8:2: W291 trailing whitespace
./mars/operands/arithmetic.py:10:2: W291 trailing whitespace
./mars/operands/merge.py:4:2: W291 trailing whitespace
./mars/operands/merge.py:8:2: W291 trailing whitespace
./mars/operands/merge.py:10:2: W291 trailing whitespace
./mars/operands/datasource.py:4:2: W291 trailing whitespace
./mars/operands/datasource.py:8:2: W291 trailing whitespace
./mars/operands/datasource.py:10:2: W291 trailing whitespace
./mars/operands/fuse.py:40:1: W391 blank line at end of file
./mars/operands/base.py:4:2: W291 trailing whitespace
./mars/operands/base.py:8:2: W291 trailing whitespace
./mars/operands/base.py:10:2: W291 trailing whitespace
./mars/operands/datastore.py:4:2: W291 trailing whitespace
./mars/operands/datastore.py:8:2: W291 trailing whitespace
./mars/operands/datastore.py:10:2: W291 trailing whitespace
./mars/operands/tests/test_ne.py:4:2: W291 trailing whitespace
./mars/operands/tests/test_ne.py:8:2: W291 trailing whitespace
./mars/operands/tests/test_ne.py:10:2: W291 trailing whitespace
./mars/tensor/execution/arithmetic.py:135:1: C901 '_build_elementwise' is too complex (14)
./mars/tensor/execution/arithmetic.py:201:9: E731 do not assign a lambda expression, use a def
./mars/tensor/execution/reduction.py:64:1: E305 expected 2 blank lines after class or function definition, found 1
./mars/tensor/execution/reduction.py:351:26: E127 continuation line over-indented for visual indent
./mars/tensor/execution/core.py:144:1: C901 'execute_chunk' is too complex (14)
./mars/tensor/execution/core.py:212:1: C901 'execute_graph' is too complex (17)
./mars/tensor/execution/core.py:263:128: E501 line too long (141 > 127 characters)
./mars/tensor/execution/core.py:302:1: E305 expected 2 blank lines after class or function definition, found 0
./mars/tensor/execution/core.py:309:1: E402 module level import not at top of file
./mars/tensor/execution/core.py:310:1: E402 module level import not at top of file
./mars/tensor/execution/core.py:311:1: E402 module level import not at top of file
./mars/tensor/execution/core.py:312:1: E402 module level import not at top of file
./mars/tensor/execution/core.py:313:1: E402 module level import not at top of file
./mars/tensor/execution/core.py:314:1: E402 module level import not at top of file
./mars/tensor/execution/core.py:315:1: E402 module level import not at top of file
./mars/tensor/execution/core.py:316:1: E402 module level import not at top of file
./mars/tensor/execution/core.py:317:1: E402 module level import not at top of file
./mars/tensor/execution/cp.py:60:12: E127 continuation line over-indented for visual indent
./mars/tensor/execution/random.py:69:1: C901 '_rand' is too complex (23)
./mars/tensor/execution/random.py:78:5: E731 do not assign a lambda expression, use a def
./mars/tensor/execution/random.py:129:1: C901 '_multivariate_normal' is too complex (12)
./mars/tensor/execution/datasource.py:193:1: W391 blank line at end of file
./mars/tensor/execution/array.py:4:2: W291 trailing whitespace
./mars/tensor/execution/array.py:8:2: W291 trailing whitespace
./mars/tensor/execution/array.py:10:2: W291 trailing whitespace
./mars/tensor/execution/optimizes/ne.py:149:1: W391 blank line at end of file
./mars/tensor/execution/optimizes/tests/test_compose.py:39:39: W291 trailing whitespace
./mars/tensor/execution/optimizes/tests/test_compose.py:60:45: W291 trailing whitespace
./mars/tensor/execution/optimizes/tests/test_compose.py:106:57: W291 trailing whitespace
./mars/tensor/execution/optimizes/tests/test_compose.py:131:69: W291 trailing whitespace
./mars/tensor/execution/optimizes/tests/test_compose.py:150:69: W291 trailing whitespace
./mars/tensor/execution/tests/test_arithmetic_execute.py:434:17: F841 local variable '_' is assigned to but never used
./mars/tensor/execution/tests/test_linalg_execute.py:497:1: W391 blank line at end of file
./mars/tensor/execution/tests/test_cupy_execute.py:40:1: W391 blank line at end of file
./mars/tensor/execution/tests/test_datasource_execute.py:654:1: W391 blank line at end of file
./mars/tensor/expressions/utils.py:4:2: W291 trailing whitespace
./mars/tensor/expressions/utils.py:8:2: W291 trailing whitespace
./mars/tensor/expressions/utils.py:10:2: W291 trailing whitespace
./mars/tensor/expressions/utils.py:62:21: E127 continuation line over-indented for visual indent
./mars/tensor/expressions/utils.py:92:5: E741 ambiguous variable name 'l'
./mars/tensor/expressions/utils.py:126:1: C901 'infer_dtype' is too complex (14)
./mars/tensor/expressions/utils.py:148:13: E722 do not use bare 'except'
./mars/tensor/expressions/utils.py:206:1: C901 'slice_split' is too complex (13)
./mars/tensor/expressions/utils.py:393:1: C901 'decide_chunk_sizes' is too complex (12)
./mars/tensor/expressions/reshape/reshape.py:38:5: C901 'TensorReshape._gen_reshape_rechunk_nsplits' is too complex (12)
./mars/tensor/expressions/reshape/reshape.py:91:65: E225 missing whitespace around operator
./mars/tensor/expressions/reshape/reshape.py:107:16: E127 continuation line over-indented for visual indent
./mars/tensor/expressions/datasource/tri.py:46:9: E731 do not assign a lambda expression, use a def
./mars/tensor/expressions/datasource/diag.py:65:9: E731 do not assign a lambda expression, use a def
./mars/tensor/expressions/datasource/diag.py:128:49: E231 missing whitespace after ','
./mars/tensor/expressions/datasource/diag.py:146:13: E731 do not assign a lambda expression, use a def
./mars/tensor/expressions/datasource/arange.py:69:16: F841 local variable 'stop' is assigned to but never used
./mars/tensor/expressions/datasource/arange.py:91:1: C901 'arange' is too complex (12)
./mars/tensor/expressions/datasource/array.py:121:1: C901 'tensor' is too complex (11)
./mars/tensor/expressions/linalg/matmul.py:39:5: C901 'TensorMatmul.__call__' is too complex (11)
./mars/tensor/expressions/linalg/matmul.py:92:9: E731 do not assign a lambda expression, use a def
./mars/tensor/expressions/linalg/matmul.py:93:9: E731 do not assign a lambda expression, use a def
./mars/tensor/expressions/linalg/matmul.py:101:13: E731 do not assign a lambda expression, use a def
./mars/tensor/expressions/linalg/matmul.py:104:21: E127 continuation line over-indented for visual indent
./mars/tensor/expressions/linalg/inner.py:46:1: W391 blank line at end of file
./mars/tensor/expressions/linalg/norm.py:56:13: E731 do not assign a lambda expression, use a def
./mars/tensor/expressions/linalg/norm.py:82:5: C901 'TensorNorm._norm' is too complex (21)
./mars/tensor/expressions/linalg/cholesky.py:46:5: C901 'TensorCholesky.tile' is too complex (14)
./mars/tensor/expressions/linalg/tensordot.py:92:9: E731 do not assign a lambda expression, use a def
./mars/tensor/expressions/linalg/lu.py:54:5: C901 'TensorLU.tile' is too complex (17)
./mars/tensor/expressions/linalg/solve_triangular.py:37:5: C901 'TensorSolveTriangular.tile' is too complex (16)
./mars/tensor/expressions/linalg/solve.py:62:9: E741 ambiguous variable name 'l'
./mars/tensor/expressions/merge/stack.py:44:26: E127 continuation line over-indented for visual indent
./mars/tensor/expressions/tests/test_utils.py:244:1: W391 blank line at end of file
./mars/tensor/expressions/tests/test_core.py:317:9: F841 local variable 'y' is assigned to but never used
./mars/tensor/expressions/tests/test_indexing.py:51:13: F841 local variable '_' is assigned to but never used
./mars/tensor/expressions/tests/test_indexing.py:75:13: F841 local variable '_' is assigned to but never used
./mars/tensor/expressions/tests/test_indexing.py:93:13: F841 local variable '_' is assigned to but never used
./mars/tensor/expressions/tests/test_indexing.py:161:101: E231 missing whitespace after ','
./mars/tensor/expressions/tests/test_reduction.py:27:9: E731 do not assign a lambda expression, use a def
./mars/tensor/expressions/tests/test_reduction.py:28:9: E731 do not assign a lambda expression, use a def
./mars/tensor/expressions/tests/test_reduction.py:28:9: F841 local variable 'prod' is assigned to but never used
./mars/tensor/expressions/tests/test_reduction.py:29:9: E731 do not assign a lambda expression, use a def
./mars/tensor/expressions/tests/test_reduction.py:30:9: E731 do not assign a lambda expression, use a def
./mars/tensor/expressions/tests/test_reduction.py:31:9: E731 do not assign a lambda expression, use a def
./mars/tensor/expressions/tests/test_reduction.py:32:9: E731 do not assign a lambda expression, use a def
./mars/tensor/expressions/tests/test_reduction.py:70:9: E731 do not assign a lambda expression, use a def
./mars/tensor/expressions/tests/test_reduction.py:101:9: E731 do not assign a lambda expression, use a def
./mars/tensor/expressions/tests/test_reduction.py:102:9: E731 do not assign a lambda expression, use a def
./mars/tensor/expressions/tests/test_reduction.py:131:9: E731 do not assign a lambda expression, use a def
./mars/tensor/expressions/tests/test_reduction.py:132:9: E731 do not assign a lambda expression, use a def
./mars/tensor/expressions/tests/test_reduction.py:153:9: E731 do not assign a lambda expression, use a def
./mars/tensor/expressions/tests/test_base.py:64:29: E225 missing whitespace around operator
./mars/tensor/expressions/tests/test_random.py:4:2: W291 trailing whitespace
./mars/tensor/expressions/tests/test_random.py:8:2: W291 trailing whitespace
./mars/tensor/expressions/tests/test_random.py:10:2: W291 trailing whitespace
./mars/tensor/expressions/tests/test_random.py:27:13: E128 continuation line under-indented for visual indent
./mars/tensor/expressions/reduction/allclose.py:89:1: W391 blank line at end of file
./mars/tensor/expressions/reduction/core.py:65:9: F841 local variable 'out_shape' is assigned to but never used
./mars/tensor/expressions/reduction/nanargmin.py:25:66: E231 missing whitespace after ','
./mars/tensor/expressions/reduction/nanargmax.py:25:66: E231 missing whitespace after ','
./mars/tensor/expressions/reduction/argmin.py:25:66: E231 missing whitespace after ','
./mars/tensor/expressions/arithmetic/sqrt.py:86:1: W391 blank line at end of file
./mars/tensor/expressions/arithmetic/core.py:41:9: E731 do not assign a lambda expression, use a def
./mars/tensor/expressions/arithmetic/core.py:308:40: E231 missing whitespace after ','
./mars/tensor/expressions/arithmetic/core.py:381:5: C901 'TensorOutBinOp._handle_params' is too complex (11)
./mars/tensor/expressions/arithmetic/conj.py:78:1: W391 blank line at end of file
./mars/tensor/expressions/arithmetic/clip.py:30:5: C901 'TensorClip._handle_params' is too complex (11)
./mars/tensor/expressions/arithmetic/clip.py:97:40: E231 missing whitespace after ','
./mars/tensor/expressions/lib/index_tricks.py:4:2: W291 trailing whitespace
./mars/tensor/expressions/lib/index_tricks.py:8:2: W291 trailing whitespace
./mars/tensor/expressions/lib/index_tricks.py:10:2: W291 trailing whitespace
./mars/tensor/expressions/lib/index_tricks.py:20:1: F401 'numpy.lib.index_tricks.ndindex' imported but unused
./mars/tensor/expressions/lib/index_tricks.py:91:5: C901 'nd_grid.__getitem__' is too complex (19)
./mars/tensor/expressions/lib/index_tricks.py:114:25: E127 continuation line over-indented for visual indent
./mars/tensor/expressions/lib/index_tricks.py:157:1: W391 blank line at end of file
./mars/tensor/expressions/indexing/getitem.py:66:5: C901 'TensorIndex.tile' is too complex (24)
./mars/tensor/expressions/indexing/getitem.py:107:17: E722 do not use bare 'except'
./mars/tensor/expressions/indexing/core.py:31:1: C901 'get_index_and_shape' is too complex (15)
./mars/tensor/expressions/random/randn.py:91:1: W391 blank line at end of file
./mars/tensor/expressions/random/choice.py:43:1: C901 'choice' is too complex (13)
./mars/tensor/expressions/random/core.py:91:5: C901 'TensorRandomOperandMixin.tile' is too complex (13)
./mars/tensor/expressions/random/core.py:168:5: C901 'TensorRandomOperandMixin._get_inputs_shape_by_given_fields' is too complex (17)
./mars/tensor/expressions/random/multinomial.py:128:1: W391 blank line at end of file
./mars/tensor/expressions/base/astype.py:117:13: E122 continuation line missing indentation or outdented
./mars/tensor/expressions/base/copyto.py:74:17: E122 continuation line missing indentation or outdented
./mars/tensor/expressions/base/copyto.py:104:9: E731 do not assign a lambda expression, use a def
./mars/tensor/expressions/base/where.py:53:9: E731 do not assign a lambda expression, use a def
./mars/tensor/expressions/base/cov.py:28:1: C901 'cov' is too complex (25)
./mars/tensor/expressions/base/repeat.py:113:40: E231 missing whitespace after ','
./mars/tensor/expressions/base/split.py:36:5: C901 'TensorSplit.__call__' is too complex (11)
./mars/tensor/expressions/base/split.py:69:17: E731 do not assign a lambda expression, use a def
./mars/tensor/expressions/base/split.py:180:1: W391 blank line at end of file
./mars/tensor/expressions/base/swapaxes.py:52:24: E222 multiple spaces after operator
./mars/worker/spill.py:182:5: C901 'SpillActor.load' is too complex (15)
./mars/worker/spill.py:195:17: F841 local variable 'ref' is assigned to but never used
./mars/worker/execution.py:26:1: F403 'from ..errors import *' used; unable to detect undefined names
./mars/worker/execution.py:34:25: F405 'PinChunkFailed' may be undefined, or defined from star imports: ..errors
./mars/worker/execution.py:34:41: F405 'SpillExhausted' may be undefined, or defined from star imports: ..errors
./mars/worker/execution.py:34:57: F405 'ObjectNotInPlasma' may be undefined, or defined from star imports: ..errors
./mars/worker/execution.py:138:5: C901 'ExecutionActor.estimate_graph_finish_time' is too complex (13)
./mars/worker/execution.py:200:5: C901 'ExecutionActor.execute_graph' is too complex (46)
./mars/worker/execution.py:261:16: F405 'PinChunkFailed' may be undefined, or defined from star imports: ..errors
./mars/worker/execution.py:287:23: F405 'ExecutionInterrupted' may be undefined, or defined from star imports: ..errors
./mars/worker/execution.py:316:105: E502 the backslash is redundant between brackets
./mars/worker/execution.py:324:27: F405 'DependencyMissing' may be undefined, or defined from star imports: ..errors
./mars/worker/execution.py:356:23: F405 'ExecutionInterrupted' may be undefined, or defined from star imports: ..errors
./mars/worker/execution.py:388:23: F405 'ExecutionInterrupted' may be undefined, or defined from star imports: ..errors
./mars/worker/execution.py:414:25: E127 continuation line over-indented for visual indent
./mars/worker/execution.py:432:91: E502 the backslash is redundant between brackets
./mars/worker/execution.py:433:98: E502 the backslash is redundant between brackets
./mars/worker/execution.py:452:39: F405 'ExecutionInterrupted' may be undefined, or defined from star imports: ..errors
./mars/worker/execution.py:457:21: E722 do not use bare 'except'
./mars/worker/execution.py:467:35: F405 'ObjectNotInPlasma' may be undefined, or defined from star imports: ..errors
./mars/worker/execution.py:486:9: E722 do not use bare 'except'
./mars/worker/execution.py:540:23: F405 'ExecutionInterrupted' may be undefined, or defined from star imports: ..errors
./mars/worker/execution.py:541:13: E722 do not use bare 'except'
./mars/worker/execution.py:593:19: F405 'WorkerProcessStopped' may be undefined, or defined from star imports: ..errors
./mars/worker/execution.py:594:16: F405 'WorkerProcessStopped' may be undefined, or defined from star imports: ..errors
./mars/worker/quota.py:116:5: C901 'QuotaActor._request_quota' is too complex (15)
./mars/worker/quota.py:355:26: E127 continuation line over-indented for visual indent
./mars/worker/chunkholder.py:22:1: F403 'from ..errors import *' used; unable to detect undefined names
./mars/worker/chunkholder.py:114:5: C901 'ChunkHolderActor.spill_size' is too complex (23)
./mars/worker/chunkholder.py:123:19: F405 'SpillExhausted' may be undefined, or defined from star imports: ..errors
./mars/worker/chunkholder.py:143:23: F405 'SpillExhausted' may be undefined, or defined from star imports: ..errors
./mars/worker/chunkholder.py:223:9: F841 local variable '_' is assigned to but never used
./mars/worker/chunkholder.py:253:19: F405 'PinChunkFailed' may be undefined, or defined from star imports: ..errors
./mars/worker/transfer.py:26:1: F403 'from ..errors import *' used; unable to detect undefined names
./mars/worker/transfer.py:79:23: F405 'SpillNotConfigured' may be undefined, or defined from star imports: ..errors
./mars/worker/transfer.py:81:23: F405 'DependencyMissing' may be undefined, or defined from star imports: ..errors
./mars/worker/transfer.py:86:5: C901 'SenderActor.send_data' is too complex (29)
./mars/worker/transfer.py:133:9: E722 do not use bare 'except'
./mars/worker/transfer.py:173:31: F405 'SpillNotConfigured' may be undefined, or defined from star imports: ..errors
./mars/worker/transfer.py:195:13: E722 do not use bare 'except'
./mars/worker/transfer.py:317:5: C901 'ReceiverActor.create_data_writer' is too complex (21)
./mars/worker/transfer.py:387:31: F405 'StoreKeyExists' may be undefined, or defined from star imports: ..errors
./mars/worker/transfer.py:395:20: F405 'StoreFull' may be undefined, or defined from star imports: ..errors
./mars/worker/transfer.py:419:31: F405 'ObjectNotInPlasma' may be undefined, or defined from star imports: ..errors
./mars/worker/transfer.py:445:23: F405 'ChecksumMismatch' may be undefined, or defined from star imports: ..errors
./mars/worker/transfer.py:453:9: E722 do not use bare 'except'
./mars/worker/transfer.py:471:23: F405 'ChecksumMismatch' may be undefined, or defined from star imports: ..errors
./mars/worker/transfer.py:498:9: E722 do not use bare 'except'
./mars/worker/transfer.py:518:19: F405 'ExecutionInterrupted' may be undefined, or defined from star imports: ..errors
./mars/worker/transfer.py:519:16: F405 'ExecutionInterrupted' may be undefined, or defined from star imports: ..errors
./mars/worker/transfer.py:525:16: F405 'ExecutionInterrupted' may be undefined, or defined from star imports: ..errors
./mars/worker/transfer.py:527:9: E722 do not use bare 'except'
./mars/worker/transfer.py:598:27: F405 'SpillNotConfigured' may be undefined, or defined from star imports: ..errors
./mars/worker/calc.py:24:1: F403 'from ..errors import *' used; unable to detect undefined names
./mars/worker/calc.py:83:20: F405 'StoreFull' may be undefined, or defined from star imports: ..errors
./mars/worker/calc.py:91:23: F405 'SpillNotConfigured' may be undefined, or defined from star imports: ..errors
./mars/worker/calc.py:168:5: C901 'CpuCalcActor.calc' is too complex (15)
./mars/worker/calc.py:205:23: F405 'ObjectNotInPlasma' may be undefined, or defined from star imports: ..errors
./mars/worker/calc.py:250:9: E722 do not use bare 'except'
./mars/worker/status.py:46:5: C901 'StatusReporterActor.collect_status' is too complex (13)
./mars/worker/tests/test_chunkholder.py:31:1: F403 'from mars.worker import *' used; unable to detect undefined names
./mars/worker/tests/test_chunkholder.py:44:45: F405 'ChunkHolderActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_chunkholder.py:70:61: E502 the backslash is redundant between brackets
./mars/worker/tests/test_chunkholder.py:79:30: F405 'ensure_chunk' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_chunkholder.py:84:30: F405 'ensure_chunk' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_chunkholder.py:125:31: F405 'DispatchActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_chunkholder.py:125:50: F405 'DispatchActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_chunkholder.py:126:31: F405 'QuotaActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_chunkholder.py:126:65: F405 'MemQuotaActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_chunkholder.py:127:43: F405 'ChunkHolderActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_chunkholder.py:128:47: F405 'ChunkHolderActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_chunkholder.py:129:31: F405 'SpillActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_chunkholder.py:142:17: F405 'SpillActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_chunkholder.py:151:31: F405 'DispatchActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_chunkholder.py:151:50: F405 'DispatchActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_chunkholder.py:152:31: F405 'QuotaActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_chunkholder.py:152:65: F405 'MemQuotaActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_chunkholder.py:153:31: F405 'SpillActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_chunkholder.py:153:47: F405 'SpillActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_chunkholder.py:154:43: F405 'ChunkHolderActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_chunkholder.py:155:47: F405 'ChunkHolderActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_status.py:21:1: F403 'from mars.worker import *' used; unable to detect undefined names
./mars/worker/tests/test_status.py:31:31: F405 'ChunkHolderActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_status.py:31:79: F405 'ChunkHolderActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_status.py:32:44: F405 'StatusActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_status.py:32:79: F405 'StatusActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_execution.py:28:1: F403 'from mars.worker import *' used; unable to detect undefined names
./mars/worker/tests/test_execution.py:54:45: F405 'ChunkHolderActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_execution.py:64:41: F405 'ExecutionActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_execution.py:86:43: F405 'ChunkHolderActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_execution.py:87:47: F405 'ChunkHolderActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_execution.py:89:31: F405 'DispatchActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_execution.py:89:50: F405 'DispatchActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_execution.py:90:31: F405 'QuotaActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_execution.py:90:60: F405 'MemQuotaActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_execution.py:91:31: F405 'CpuCalcActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_execution.py:92:31: F405 'ExecutionActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_execution.py:92:51: F405 'ExecutionActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_transfer.py:30:1: F403 'from mars.worker import *' used; unable to detect undefined names
./mars/worker/tests/test_transfer.py:61:38: F405 'ChunkHolderActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_transfer.py:78:56: E502 the backslash is redundant between brackets
./mars/worker/tests/test_transfer.py:79:17: E128 continuation line under-indented for visual indent
./mars/worker/tests/test_transfer.py:99:35: F405 'DispatchActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_transfer.py:99:54: F405 'DispatchActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_transfer.py:100:35: F405 'QuotaActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_transfer.py:100:69: F405 'MemQuotaActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_transfer.py:102:54: F405 'ChunkHolderActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_transfer.py:103:58: F405 'ChunkHolderActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_transfer.py:104:35: F405 'SpillActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_transfer.py:106:35: F405 'SenderActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_transfer.py:107:35: F405 'SenderActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_transfer.py:109:35: F405 'ReceiverActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_transfer.py:110:35: F405 'ReceiverActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_transfer.py:142:5: C901 'Test.testSimpleTransfer' is too complex (12)
./mars/worker/tests/test_transfer.py:161:9: E722 do not use bare 'except'
./mars/worker/tests/test_transfer.py:171:31: F405 'DispatchActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_transfer.py:171:50: F405 'DispatchActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_transfer.py:172:31: F405 'QuotaActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_transfer.py:172:65: F405 'MemQuotaActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_transfer.py:173:43: F405 'ChunkHolderActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_transfer.py:174:47: F405 'ChunkHolderActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_transfer.py:175:31: F405 'SpillActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_transfer.py:178:35: F405 'SenderActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_transfer.py:179:35: F405 'SenderActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_transfer.py:183:35: F405 'ReceiverActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_transfer.py:184:35: F405 'ReceiverActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_transfer.py:185:35: F405 'ReceiverActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_transfer.py:186:35: F405 'ReceiverActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_transfer.py:199:29: F405 'DispatchActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_dispatcher.py:24:1: F403 'from mars.worker import *' used; unable to detect undefined names
./mars/worker/tests/test_dispatcher.py:36:47: F405 'DispatchActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_dispatcher.py:56:46: F405 'DispatchActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_dispatcher.py:56:65: F405 'DispatchActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/test_dispatcher.py:74:56: F405 'DispatchActor' may be undefined, or defined from star imports: mars.worker
./mars/worker/tests/base.py:46:9: E722 do not use bare 'except'
./mars/worker/tests/base.py:99:9: E722 do not use bare 'except'
65 C901 'get_git_info' is too complex (11)
2 E122 continuation line missing indentation or outdented
12 E127 continuation line over-indented for visual indent
4 E128 continuation line under-indented for visual indent
1 E201 whitespace after '['
1 E222 multiple spaces after operator
6 E225 missing whitespace around operator
8 E231 missing whitespace after ','
8 E251 unexpected spaces around keyword / parameter equals
1 E261 at least two spaces before inline comment
2 E266 too many leading '#' for block comment
1 E301 expected 1 blank line, found 0
18 E302 expected 2 blank lines, found 0
4 E303 too many blank lines (2)
6 E305 expected 2 blank lines after class or function definition, found 1
7 E306 expected 1 blank line before a nested definition, found 0
20 E402 module level import not at top of file
3 E501 line too long (144 > 127 characters)
8 E502 the backslash is redundant between brackets
5 E701 multiple statements on one line (colon)
2 E712 comparison to True should be 'if cond is True:' or 'if cond:'
2 E721 do not compare types, use 'isinstance()'
31 E722 do not use bare 'except'
37 E731 do not assign a lambda expression, use a def
2 E741 ambiguous variable name 'l'
1 F401 'numpy.lib.index_tricks.ndindex' imported but unused
11 F403 'from ..errors import *' used; unable to detect undefined names
103 F405 'ResourceInsufficient' may be undefined, or defined from star imports: ..errors
17 F841 local variable '_' is assigned to but never used
38 W291 trailing whitespace
17 W391 blank line at end of file
443
from mars.
Related Issues (20)
- [BUG] Support for higher versions of python HOT 3
- [BUG] md.read_ray_dataset is not compatible with latest Ray
- [BUG] mars.tensor.int is not compatible with numpy since v1.24
- [BUG] Creating an ndarray from ragged nested sequences is deprecated since numpy 1.24
- [BUG] anaconda3/lib/python3.8/uuid.py", line 180, raise ValueError('bytes is not a 16-char string') HOT 12
- [BUG] throw `AttributeError` when using mars tensor with `gpu=True` on colab HOT 2
- [BUG] throw a `No NVIDIA GPU detected` warning or a similar error when deploying Mars on Ray
- [BUG] Apply Function get HTTP Error HOT 6
- [CI] Pandas 2.0.0 will break down Mars CI
- Want some examples of custom apply function
- [GRAPH][ENHANCEMENT] Optimize `SubtakGraph` generation
- [BUG] `test_ray_client` run failed
- [BUG]How to set the ip address in the cluster mode HOT 3
- [BUG] lightgbm TypeError: a bytes-like object is required, not 'list'
- [BUG][Ray] LightGBMError: Machine list file doesn't contain the local machine
- A more universal function to replace subgraph in OptimizationRule
- [BUG] Series doesn't support attribute access
- [BUG] Series with multi index accessing data by index error
- [PERF] Performance issue in pandas 1.3.4's read_csv Function with Large Column CSV Files
- [BUG]Build fails under Windows platform HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mars.