8117 lines
228 KiB
JSON
8117 lines
228 KiB
JSON
[
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 105,
|
|
"row": 34
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/asset_agent.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 34
|
|
},
|
|
"message": "Line too long (104 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 34,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 66
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/asset_agent.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 66
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 66,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 120,
|
|
"row": 82
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/continuity.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 82
|
|
},
|
|
"message": "Line too long (119 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 87,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 104,
|
|
"row": 84
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/continuity.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 84
|
|
},
|
|
"message": "Line too long (103 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 87,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 140,
|
|
"row": 85
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/continuity.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 85
|
|
},
|
|
"message": "Line too long (139 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 87,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 137,
|
|
"row": 86
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/continuity.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 86
|
|
},
|
|
"message": "Line too long (136 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 87,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 152,
|
|
"row": 92
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/continuity.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 92
|
|
},
|
|
"message": "Line too long (151 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 96,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 102,
|
|
"row": 299
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/continuity.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 299
|
|
},
|
|
"message": "Line too long (101 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 299,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 105,
|
|
"row": 328
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/continuity.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 328
|
|
},
|
|
"message": "Line too long (104 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 328,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 105,
|
|
"row": 451
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/continuity.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 451
|
|
},
|
|
"message": "Line too long (104 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 451,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 117,
|
|
"row": 504
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/continuity.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 504
|
|
},
|
|
"message": "Line too long (116 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 504,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "F401",
|
|
"end_location": {
|
|
"column": 15,
|
|
"row": 11
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/coverage_agent.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 12
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 11
|
|
}
|
|
}
|
|
],
|
|
"message": "Remove unused import: `asyncio`"
|
|
},
|
|
"location": {
|
|
"column": 8,
|
|
"row": 11
|
|
},
|
|
"message": "`asyncio` imported but unused",
|
|
"name": "unused-import",
|
|
"noqa_row": 11,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unused-import"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 102,
|
|
"row": 288
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/coverage_agent.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 288
|
|
},
|
|
"message": "Line too long (101 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 288,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "I001",
|
|
"end_location": {
|
|
"column": 2,
|
|
"row": 52
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/__init__.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "from calliope.agent.harness.registry import ( # noqa: E402\n EXPORT_VIDEO_DENIED_NAMES,\n GUARD_NO_EXPORT_VIDEO_TOOL,\n GUARD_SCENE_TOOL_SCOPE,\n _scene_scoped,\n)\n\n",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 54
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 47
|
|
}
|
|
}
|
|
],
|
|
"message": "Organize imports"
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 47
|
|
},
|
|
"message": "Import block is un-sorted or un-formatted",
|
|
"name": "unsorted-imports",
|
|
"noqa_row": 47,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "F401",
|
|
"end_location": {
|
|
"column": 27,
|
|
"row": 48
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/__init__.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 5,
|
|
"row": 48
|
|
},
|
|
"message": "`calliope.agent.harness.registry.GUARD_SCENE_TOOL_SCOPE` imported but unused; consider removing, adding to `__all__`, or using a redundant alias",
|
|
"name": "unused-import",
|
|
"noqa_row": 48,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unused-import"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "F401",
|
|
"end_location": {
|
|
"column": 31,
|
|
"row": 49
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/__init__.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 5,
|
|
"row": 49
|
|
},
|
|
"message": "`calliope.agent.harness.registry.GUARD_NO_EXPORT_VIDEO_TOOL` imported but unused; consider removing, adding to `__all__`, or using a redundant alias",
|
|
"name": "unused-import",
|
|
"noqa_row": 49,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unused-import"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "F401",
|
|
"end_location": {
|
|
"column": 30,
|
|
"row": 50
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/__init__.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 5,
|
|
"row": 50
|
|
},
|
|
"message": "`calliope.agent.harness.registry.EXPORT_VIDEO_DENIED_NAMES` imported but unused; consider removing, adding to `__all__`, or using a redundant alias",
|
|
"name": "unused-import",
|
|
"noqa_row": 50,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unused-import"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "F401",
|
|
"end_location": {
|
|
"column": 18,
|
|
"row": 51
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/__init__.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 5,
|
|
"row": 51
|
|
},
|
|
"message": "`calliope.agent.harness.registry._scene_scoped` imported but unused; consider removing, adding to `__all__`, or using a redundant alias",
|
|
"name": "unused-import",
|
|
"noqa_row": 51,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unused-import"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 104,
|
|
"row": 121
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/log.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 121
|
|
},
|
|
"message": "Line too long (103 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 122,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 111,
|
|
"row": 263
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/log.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 263
|
|
},
|
|
"message": "Line too long (110 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 263,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 105,
|
|
"row": 541
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/log.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 541
|
|
},
|
|
"message": "Line too long (104 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 541,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 104,
|
|
"row": 1041
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/log.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 1041
|
|
},
|
|
"message": "Line too long (103 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 1041,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "N818",
|
|
"end_location": {
|
|
"column": 21,
|
|
"row": 31
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/loop.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 7,
|
|
"row": 31
|
|
},
|
|
"message": "Exception name `_AwaitingInput` should be named with an Error suffix",
|
|
"name": "error-suffix-on-exception-name",
|
|
"noqa_row": 31,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/error-suffix-on-exception-name"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 291
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/loop.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 291
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 291,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 110,
|
|
"row": 404
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/loop.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 404
|
|
},
|
|
"message": "Line too long (109 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 404,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 102,
|
|
"row": 456
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/loop.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 456
|
|
},
|
|
"message": "Line too long (101 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 456,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 114,
|
|
"row": 667
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/loop.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 667
|
|
},
|
|
"message": "Line too long (113 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 667,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 111,
|
|
"row": 721
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/loop.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 721
|
|
},
|
|
"message": "Line too long (110 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 721,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 724
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/loop.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 724
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 724,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 129,
|
|
"row": 733
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/loop.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 733
|
|
},
|
|
"message": "Line too long (128 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 733,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 108,
|
|
"row": 873
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/loop.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 873
|
|
},
|
|
"message": "Line too long (107 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 873,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 128,
|
|
"row": 237
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/orchestrator.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 237
|
|
},
|
|
"message": "Line too long (127 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 262,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 112,
|
|
"row": 239
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/orchestrator.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 239
|
|
},
|
|
"message": "Line too long (111 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 262,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 120,
|
|
"row": 252
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/orchestrator.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 252
|
|
},
|
|
"message": "Line too long (119 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 262,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 427,
|
|
"row": 253
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/orchestrator.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 253
|
|
},
|
|
"message": "Line too long (426 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 262,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 504,
|
|
"row": 254
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/orchestrator.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 254
|
|
},
|
|
"message": "Line too long (503 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 262,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 403,
|
|
"row": 255
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/orchestrator.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 255
|
|
},
|
|
"message": "Line too long (402 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 262,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 168,
|
|
"row": 256
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/orchestrator.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 256
|
|
},
|
|
"message": "Line too long (167 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 262,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 276,
|
|
"row": 257
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/orchestrator.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 257
|
|
},
|
|
"message": "Line too long (275 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 262,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 293,
|
|
"row": 258
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/orchestrator.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 258
|
|
},
|
|
"message": "Line too long (292 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 262,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 512
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/orchestrator.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 512
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 512,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 112,
|
|
"row": 633
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/orchestrator.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 633
|
|
},
|
|
"message": "Line too long (111 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 633,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 105,
|
|
"row": 804
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/orchestrator.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 804
|
|
},
|
|
"message": "Line too long (104 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 804,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 110,
|
|
"row": 818
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/orchestrator.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 818
|
|
},
|
|
"message": "Line too long (109 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 818,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 108,
|
|
"row": 261
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/comfy_mcp.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 261
|
|
},
|
|
"message": "Line too long (107 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 261,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 107,
|
|
"row": 278
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/comfy_mcp.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 278
|
|
},
|
|
"message": "Line too long (106 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 278,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 107,
|
|
"row": 279
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/comfy_mcp.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 279
|
|
},
|
|
"message": "Line too long (106 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 279,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 121,
|
|
"row": 280
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/comfy_mcp.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 280
|
|
},
|
|
"message": "Line too long (120 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 280,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 127,
|
|
"row": 282
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/comfy_mcp.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 282
|
|
},
|
|
"message": "Line too long (126 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 282,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 116,
|
|
"row": 283
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/comfy_mcp.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 283
|
|
},
|
|
"message": "Line too long (115 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 283,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 287
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/comfy_mcp.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 287
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 287,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 119,
|
|
"row": 288
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/comfy_mcp.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 288
|
|
},
|
|
"message": "Line too long (118 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 288,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 120,
|
|
"row": 289
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/comfy_mcp.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 289
|
|
},
|
|
"message": "Line too long (119 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 289,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 290
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/comfy_mcp.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 290
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 290,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 111,
|
|
"row": 296
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/comfy_mcp.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 296
|
|
},
|
|
"message": "Line too long (110 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 296,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 128,
|
|
"row": 298
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/comfy_mcp.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 298
|
|
},
|
|
"message": "Line too long (127 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 298,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 109,
|
|
"row": 306
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/comfy_mcp.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 306
|
|
},
|
|
"message": "Line too long (108 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 306,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 107,
|
|
"row": 307
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/comfy_mcp.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 307
|
|
},
|
|
"message": "Line too long (106 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 307,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 313
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/comfy_mcp.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 313
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 313,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 108,
|
|
"row": 316
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/comfy_mcp.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 316
|
|
},
|
|
"message": "Line too long (107 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 316,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 317
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/comfy_mcp.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 317
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 317,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 110,
|
|
"row": 318
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/comfy_mcp.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 318
|
|
},
|
|
"message": "Line too long (109 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 318,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 116,
|
|
"row": 319
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/comfy_mcp.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 319
|
|
},
|
|
"message": "Line too long (115 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 319,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 104,
|
|
"row": 111
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/interaction.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 111
|
|
},
|
|
"message": "Line too long (103 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 111,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 109,
|
|
"row": 41
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/memory.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 41
|
|
},
|
|
"message": "Line too long (108 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 41,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 112,
|
|
"row": 64
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/memory.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 64
|
|
},
|
|
"message": "Line too long (111 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 64,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 106,
|
|
"row": 121
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/memory.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 121
|
|
},
|
|
"message": "Line too long (105 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 121,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 167
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/memory.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 167
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 167,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 109,
|
|
"row": 174
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/memory.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 174
|
|
},
|
|
"message": "Line too long (108 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 174,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 197
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/memory.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 197
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 197,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "I001",
|
|
"end_location": {
|
|
"column": 36,
|
|
"row": 14
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/render.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "from __future__ import annotations\n\nimport asyncio\nimport json\nfrom typing import Any\n\nfrom calliope.agent.harness.registry import (\n ToolContext,\n ToolDefinition,\n ToolRegistry,\n _db,\n)\nfrom calliope.db import row_to_dict\n\n\n",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 16
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 2
|
|
}
|
|
}
|
|
],
|
|
"message": "Organize imports"
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 2
|
|
},
|
|
"message": "Import block is un-sorted or un-formatted",
|
|
"name": "unsorted-imports",
|
|
"noqa_row": 2,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 116,
|
|
"row": 215
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/render.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 215
|
|
},
|
|
"message": "Line too long (115 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 215,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 112,
|
|
"row": 219
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/render.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 219
|
|
},
|
|
"message": "Line too long (111 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 219,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 107,
|
|
"row": 346
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/render.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 346
|
|
},
|
|
"message": "Line too long (106 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 346,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 124,
|
|
"row": 651
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/render.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 651
|
|
},
|
|
"message": "Line too long (123 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 651,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 122,
|
|
"row": 661
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/render.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 661
|
|
},
|
|
"message": "Line too long (121 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 661,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 114,
|
|
"row": 671
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/render.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 671
|
|
},
|
|
"message": "Line too long (113 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 671,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 109,
|
|
"row": 686
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/render.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 686
|
|
},
|
|
"message": "Line too long (108 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 686,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 105,
|
|
"row": 936
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/render.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 936
|
|
},
|
|
"message": "Line too long (104 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 936,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 105,
|
|
"row": 1041
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/render.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 1041
|
|
},
|
|
"message": "Line too long (104 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 1041,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 104,
|
|
"row": 1070
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/render.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 1070
|
|
},
|
|
"message": "Line too long (103 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 1070,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 118,
|
|
"row": 1104
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/render.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 1104
|
|
},
|
|
"message": "Line too long (117 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 1104,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "N806",
|
|
"end_location": {
|
|
"column": 25,
|
|
"row": 1239
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/render.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 5,
|
|
"row": 1239
|
|
},
|
|
"message": "Variable `_PROGRESS_INTERVAL_S` in function should be lowercase",
|
|
"name": "non-lowercase-variable-in-function",
|
|
"noqa_row": 1239,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/non-lowercase-variable-in-function"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 105,
|
|
"row": 221
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/script.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 221
|
|
},
|
|
"message": "Line too long (104 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 221,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 105,
|
|
"row": 547
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/script.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 547
|
|
},
|
|
"message": "Line too long (104 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 547,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 106,
|
|
"row": 589
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/script.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 589
|
|
},
|
|
"message": "Line too long (105 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 591,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 131,
|
|
"row": 544
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/shot_builder.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 544
|
|
},
|
|
"message": "Line too long (130 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 544,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 115,
|
|
"row": 575
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/shot_builder.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 575
|
|
},
|
|
"message": "Line too long (114 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 575,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 108,
|
|
"row": 632
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/shot_builder.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 632
|
|
},
|
|
"message": "Line too long (107 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 632,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 102,
|
|
"row": 703
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/shot_builder.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 703
|
|
},
|
|
"message": "Line too long (101 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 703,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 118,
|
|
"row": 1220
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/shot_builder.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 1220
|
|
},
|
|
"message": "Line too long (117 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 1220,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 118,
|
|
"row": 1221
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/shot_builder.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 1221
|
|
},
|
|
"message": "Line too long (117 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 1221,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 115,
|
|
"row": 1222
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/shot_builder.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 1222
|
|
},
|
|
"message": "Line too long (114 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 1222,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 109,
|
|
"row": 1237
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/shot_builder.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 1237
|
|
},
|
|
"message": "Line too long (108 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 1237,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 116,
|
|
"row": 1255
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/shot_builder.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 1255
|
|
},
|
|
"message": "Line too long (115 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 1255,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "I001",
|
|
"end_location": {
|
|
"column": 2,
|
|
"row": 19
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/skills.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "from __future__ import annotations\n\nimport logging\nfrom typing import Any\n\nfrom calliope.agent.harness.registry import ToolContext, ToolDefinition, ToolRegistry\nfrom calliope.agent.skills_store import (\n effective_skill_dirs,\n ensure_builtin_skills,\n read_skill_file,\n skills_prompt_lines,\n)\nfrom calliope.agent.skills_store import (\n list_skills as store_list_skills,\n)\n\n",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 21
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 7
|
|
}
|
|
}
|
|
],
|
|
"message": "Organize imports"
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 7
|
|
},
|
|
"message": "Import block is un-sorted or un-formatted",
|
|
"name": "unsorted-imports",
|
|
"noqa_row": 7,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 115,
|
|
"row": 32
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/story.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 32
|
|
},
|
|
"message": "Line too long (114 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 32,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "I001",
|
|
"end_location": {
|
|
"column": 37,
|
|
"row": 42
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/system.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "from __future__ import annotations\n\nimport asyncio\nimport logging\nimport os\nimport re\nimport shutil\nfrom pathlib import Path\nfrom typing import Any\n\nfrom calliope.agent.harness.registry import (\n ToolContext,\n ToolDefinition,\n ToolRegistry,\n allow,\n deny,\n)\nfrom calliope.config import settings\n\n",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 44
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 25
|
|
}
|
|
}
|
|
],
|
|
"message": "Organize imports"
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 25
|
|
},
|
|
"message": "Import block is un-sorted or un-formatted",
|
|
"name": "unsorted-imports",
|
|
"noqa_row": 25,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "F841",
|
|
"end_location": {
|
|
"column": 12,
|
|
"row": 176
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/system.py",
|
|
"fix": {
|
|
"applicability": "unsafe",
|
|
"edits": [
|
|
{
|
|
"content": "",
|
|
"end_location": {
|
|
"column": 15,
|
|
"row": 176
|
|
},
|
|
"location": {
|
|
"column": 9,
|
|
"row": 176
|
|
}
|
|
}
|
|
],
|
|
"message": "Remove assignment to unused variable `cwd`"
|
|
},
|
|
"location": {
|
|
"column": 9,
|
|
"row": 176
|
|
},
|
|
"message": "Local variable `cwd` is assigned to but never used",
|
|
"name": "unused-variable",
|
|
"noqa_row": 176,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unused-variable"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 170,
|
|
"row": 297
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/system.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 297
|
|
},
|
|
"message": "Line too long (169 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 297,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 123,
|
|
"row": 301
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/system.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 301
|
|
},
|
|
"message": "Line too long (122 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 301,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 116,
|
|
"row": 305
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/system.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 305
|
|
},
|
|
"message": "Line too long (115 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 305,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 104,
|
|
"row": 296
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/workspace.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 296
|
|
},
|
|
"message": "Line too long (103 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 296,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 105,
|
|
"row": 355
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/plugins/workspace.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 355
|
|
},
|
|
"message": "Line too long (104 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 355,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 109,
|
|
"row": 190
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/policy.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 190
|
|
},
|
|
"message": "Line too long (108 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 190,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 215
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/prompts.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 215
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 215,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E741",
|
|
"end_location": {
|
|
"column": 81,
|
|
"row": 238
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/prompts.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 80,
|
|
"row": 238
|
|
},
|
|
"message": "Ambiguous variable name: `l`",
|
|
"name": "ambiguous-variable-name",
|
|
"noqa_row": 238,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/ambiguous-variable-name"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 64
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/registry.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 64
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 64,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 106,
|
|
"row": 145
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/registry.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 145
|
|
},
|
|
"message": "Line too long (105 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 145,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 250
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/registry.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 250
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 250,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 104,
|
|
"row": 262
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/registry.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 262
|
|
},
|
|
"message": "Line too long (103 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 262,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 112,
|
|
"row": 359
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/registry.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 359
|
|
},
|
|
"message": "Line too long (111 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 364,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 130,
|
|
"row": 360
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/registry.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 360
|
|
},
|
|
"message": "Line too long (129 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 364,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 109,
|
|
"row": 94
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/runner.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 94
|
|
},
|
|
"message": "Line too long (108 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 96,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "F841",
|
|
"end_location": {
|
|
"column": 18,
|
|
"row": 395
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/runner.py",
|
|
"fix": {
|
|
"applicability": "unsafe",
|
|
"edits": [
|
|
{
|
|
"content": "",
|
|
"end_location": {
|
|
"column": 21,
|
|
"row": 395
|
|
},
|
|
"location": {
|
|
"column": 13,
|
|
"row": 395
|
|
}
|
|
}
|
|
],
|
|
"message": "Remove assignment to unused variable `final`"
|
|
},
|
|
"location": {
|
|
"column": 13,
|
|
"row": 395
|
|
},
|
|
"message": "Local variable `final` is assigned to but never used",
|
|
"name": "unused-variable",
|
|
"noqa_row": 395,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unused-variable"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "F401",
|
|
"end_location": {
|
|
"column": 17,
|
|
"row": 16
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/harness/tools.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "from calliope.agent.harness.registry import ( # re-export\n ToolContext,\n ToolDefinition,\n)",
|
|
"end_location": {
|
|
"column": 2,
|
|
"row": 17
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 13
|
|
}
|
|
}
|
|
],
|
|
"message": "Remove unused import: `calliope.agent.harness.registry.ToolRegistry`"
|
|
},
|
|
"location": {
|
|
"column": 5,
|
|
"row": 16
|
|
},
|
|
"message": "`calliope.agent.harness.registry.ToolRegistry` imported but unused",
|
|
"name": "unused-import",
|
|
"noqa_row": 16,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unused-import"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 105,
|
|
"row": 53
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/llm.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 53
|
|
},
|
|
"message": "Line too long (104 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 53,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 364
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/llm.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 364
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 364,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "I001",
|
|
"end_location": {
|
|
"column": 23,
|
|
"row": 6
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/prompts.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "from __future__ import annotations\n\nimport re\nfrom pathlib import Path\nfrom typing import Any\n\n",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 9
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 2
|
|
}
|
|
}
|
|
],
|
|
"message": "Organize imports"
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 2
|
|
},
|
|
"message": "Import block is un-sorted or un-formatted",
|
|
"name": "unsorted-imports",
|
|
"noqa_row": 2,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 162,
|
|
"row": 125
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/prompts.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 125
|
|
},
|
|
"message": "Line too long (161 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 160,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 193,
|
|
"row": 126
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/prompts.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 126
|
|
},
|
|
"message": "Line too long (192 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 160,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 134
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/prompts.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 134
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 160,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 105,
|
|
"row": 159
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/prompts.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 159
|
|
},
|
|
"message": "Line too long (104 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 160,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 221
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/prompts.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 221
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 241,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 105,
|
|
"row": 240
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/prompts.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 240
|
|
},
|
|
"message": "Line too long (104 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 241,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 110,
|
|
"row": 268
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/prompts.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 268
|
|
},
|
|
"message": "Line too long (109 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 299,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 115,
|
|
"row": 294
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/prompts.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 294
|
|
},
|
|
"message": "Line too long (114 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 299,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E741",
|
|
"end_location": {
|
|
"column": 74,
|
|
"row": 326
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/prompts.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 73,
|
|
"row": 326
|
|
},
|
|
"message": "Ambiguous variable name: `l`",
|
|
"name": "ambiguous-variable-name",
|
|
"noqa_row": 326,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/ambiguous-variable-name"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 110,
|
|
"row": 353
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/prompts.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 353
|
|
},
|
|
"message": "Line too long (109 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 404,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 573,
|
|
"row": 392
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/prompts.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 392
|
|
},
|
|
"message": "Line too long (572 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 404,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E741",
|
|
"end_location": {
|
|
"column": 74,
|
|
"row": 439
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/prompts.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 73,
|
|
"row": 439
|
|
},
|
|
"message": "Ambiguous variable name: `l`",
|
|
"name": "ambiguous-variable-name",
|
|
"noqa_row": 439,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/ambiguous-variable-name"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 102,
|
|
"row": 456
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/prompts.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 456
|
|
},
|
|
"message": "Line too long (101 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 536,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 289,
|
|
"row": 523
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/prompts.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 523
|
|
},
|
|
"message": "Line too long (288 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 536,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 106,
|
|
"row": 168
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/script_agent.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 168
|
|
},
|
|
"message": "Line too long (105 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 170,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 323
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/script_agent.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 323
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 323,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 106,
|
|
"row": 360
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/video_agent.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 360
|
|
},
|
|
"message": "Line too long (105 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 360,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 148,
|
|
"row": 538
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/video_agent.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 538
|
|
},
|
|
"message": "Line too long (147 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 538,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 134,
|
|
"row": 665
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/video_agent.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 665
|
|
},
|
|
"message": "Line too long (133 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 665,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 132,
|
|
"row": 738
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/video_agent.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 738
|
|
},
|
|
"message": "Line too long (131 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 738,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 105,
|
|
"row": 810
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/agent/video_agent.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 810
|
|
},
|
|
"message": "Line too long (104 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 810,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 105,
|
|
"row": 66
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/comfyui/client.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 99,
|
|
"row": 66
|
|
},
|
|
"message": "Line too long (106 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 66,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 108,
|
|
"row": 18
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/comfyui/dry_run.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 18
|
|
},
|
|
"message": "Line too long (107 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 18,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 102,
|
|
"row": 35
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/comfyui/dry_run.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 35
|
|
},
|
|
"message": "Line too long (101 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 35,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 102,
|
|
"row": 274
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/comfyui/parser.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 274
|
|
},
|
|
"message": "Line too long (101 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 274,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "I001",
|
|
"end_location": {
|
|
"column": 63,
|
|
"row": 11
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/config.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "from __future__ import annotations\n\nimport json\nimport sys\nimport tempfile\nimport uuid\nfrom pathlib import Path\nfrom typing import Any\n\nfrom pydantic import Field\nfrom pydantic_settings import BaseSettings, SettingsConfigDict\n\n",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 14
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 1
|
|
}
|
|
}
|
|
],
|
|
"message": "Organize imports"
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 1
|
|
},
|
|
"message": "Import block is un-sorted or un-formatted",
|
|
"name": "unsorted-imports",
|
|
"noqa_row": 1,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 198,
|
|
"row": 50
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/config.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 50
|
|
},
|
|
"message": "Line too long (197 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 57,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 174,
|
|
"row": 52
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/config.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 52
|
|
},
|
|
"message": "Line too long (173 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 57,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 181,
|
|
"row": 53
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/config.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 53
|
|
},
|
|
"message": "Line too long (180 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 57,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 257,
|
|
"row": 54
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/config.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 54
|
|
},
|
|
"message": "Line too long (256 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 57,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 174,
|
|
"row": 55
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/config.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 55
|
|
},
|
|
"message": "Line too long (173 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 57,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 133,
|
|
"row": 56
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/config.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 56
|
|
},
|
|
"message": "Line too long (132 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 57,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 124,
|
|
"row": 57
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/config.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 57
|
|
},
|
|
"message": "Line too long (123 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 57,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 251
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/config.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 251
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 251,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 102,
|
|
"row": 282
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/config.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 282
|
|
},
|
|
"message": "Line too long (101 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 282,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 106,
|
|
"row": 284
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/config.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 284
|
|
},
|
|
"message": "Line too long (105 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 284,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "F841",
|
|
"end_location": {
|
|
"column": 26,
|
|
"row": 580
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/config.py",
|
|
"fix": {
|
|
"applicability": "unsafe",
|
|
"edits": [
|
|
{
|
|
"content": "",
|
|
"end_location": {
|
|
"column": 29,
|
|
"row": 580
|
|
},
|
|
"location": {
|
|
"column": 9,
|
|
"row": 580
|
|
}
|
|
}
|
|
],
|
|
"message": "Remove assignment to unused variable `profiles_migrated`"
|
|
},
|
|
"location": {
|
|
"column": 9,
|
|
"row": 580
|
|
},
|
|
"message": "Local variable `profiles_migrated` is assigned to but never used",
|
|
"name": "unused-variable",
|
|
"noqa_row": 580,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unused-variable"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 108,
|
|
"row": 302
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/db.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 302
|
|
},
|
|
"message": "Line too long (107 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 328,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 108,
|
|
"row": 546
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/db.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 546
|
|
},
|
|
"message": "Line too long (107 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 546,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "F401",
|
|
"end_location": {
|
|
"column": 44,
|
|
"row": 20
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/export/runner.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "from calliope.db import get_db",
|
|
"end_location": {
|
|
"column": 44,
|
|
"row": 20
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 20
|
|
}
|
|
}
|
|
],
|
|
"message": "Remove unused import: `calliope.db.row_to_dict`"
|
|
},
|
|
"location": {
|
|
"column": 33,
|
|
"row": 20
|
|
},
|
|
"message": "`calliope.db.row_to_dict` imported but unused",
|
|
"name": "unused-import",
|
|
"noqa_row": 20,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unused-import"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 109,
|
|
"row": 292
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/export/runner.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 292
|
|
},
|
|
"message": "Line too long (108 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 292,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "I001",
|
|
"end_location": {
|
|
"column": 2,
|
|
"row": 35
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/main.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "from __future__ import annotations\n\nimport logging\nimport sys\nfrom contextlib import asynccontextmanager\nfrom pathlib import Path\n\nfrom fastapi import FastAPI, HTTPException\nfrom fastapi.middleware.cors import CORSMiddleware\nfrom fastapi.staticfiles import StaticFiles\nfrom starlette.exceptions import HTTPException as StarletteHTTPException\nfrom starlette.responses import Response\nfrom starlette.types import Scope\n\nfrom calliope import __version__\nfrom calliope.config import settings\nfrom calliope.db import get_db, migrate_db, rebase_stale_asset_paths\nfrom calliope.queue.worker import queue_worker\nfrom calliope.routers import (\n agent,\n assets,\n canvas,\n events,\n jobs,\n library,\n playground,\n projects,\n scenes,\n shots,\n story,\n workbench,\n workflows,\n)\nfrom calliope.routers import (\n comfyui as comfy,\n)\nfrom calliope.routers import (\n settings as settings_router,\n)\n\n",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 37
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 1
|
|
}
|
|
}
|
|
],
|
|
"message": "Organize imports"
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 1
|
|
},
|
|
"message": "Import block is un-sorted or un-formatted",
|
|
"name": "unsorted-imports",
|
|
"noqa_row": 1,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 107,
|
|
"row": 162
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/main.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 162
|
|
},
|
|
"message": "Line too long (106 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 162,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 106,
|
|
"row": 16
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/models/schemas.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 16
|
|
},
|
|
"message": "Line too long (105 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 16,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "F811",
|
|
"end_location": {
|
|
"column": 19,
|
|
"row": 68
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/models/schemas.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 7,
|
|
"row": 68
|
|
},
|
|
"message": "Redefinition of unused `ProjectStats` from line 37: `ProjectStats` redefined here",
|
|
"name": "redefined-while-unused",
|
|
"noqa_row": 68,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/redefined-while-unused"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 415,
|
|
"row": 15
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/poses.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 15
|
|
},
|
|
"message": "Line too long (414 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 15,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 397,
|
|
"row": 20
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/poses.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 20
|
|
},
|
|
"message": "Line too long (396 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 20,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 402,
|
|
"row": 25
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/poses.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 25
|
|
},
|
|
"message": "Line too long (401 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 25,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 424,
|
|
"row": 30
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/poses.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 30
|
|
},
|
|
"message": "Line too long (423 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 30,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 379,
|
|
"row": 35
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/poses.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 35
|
|
},
|
|
"message": "Line too long (378 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 35,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 402,
|
|
"row": 40
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/poses.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 40
|
|
},
|
|
"message": "Line too long (401 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 40,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 387,
|
|
"row": 45
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/poses.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 45
|
|
},
|
|
"message": "Line too long (386 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 45,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 391,
|
|
"row": 50
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/poses.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 50
|
|
},
|
|
"message": "Line too long (390 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 50,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 414,
|
|
"row": 55
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/poses.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 55
|
|
},
|
|
"message": "Line too long (413 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 55,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 401,
|
|
"row": 60
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/poses.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 60
|
|
},
|
|
"message": "Line too long (400 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 60,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 399,
|
|
"row": 65
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/poses.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 65
|
|
},
|
|
"message": "Line too long (398 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 65,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 381,
|
|
"row": 70
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/poses.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 70
|
|
},
|
|
"message": "Line too long (380 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 70,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 413,
|
|
"row": 75
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/poses.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 75
|
|
},
|
|
"message": "Line too long (412 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 75,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 393,
|
|
"row": 80
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/poses.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 80
|
|
},
|
|
"message": "Line too long (392 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 80,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 406,
|
|
"row": 85
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/poses.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 85
|
|
},
|
|
"message": "Line too long (405 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 85,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 406,
|
|
"row": 90
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/poses.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 90
|
|
},
|
|
"message": "Line too long (405 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 90,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "I001",
|
|
"end_location": {
|
|
"column": 2,
|
|
"row": 28
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/queue/worker.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "from __future__ import annotations\n\nimport asyncio\nimport json\nimport logging\nfrom pathlib import Path as _fs_path\nfrom typing import Any\n\nimport httpx\n\nfrom calliope import config\nfrom calliope.comfyui.client import ComfyUIClient\nfrom calliope.comfyui.dry_run import write_placeholder_mp4, write_placeholder_png\nfrom calliope.comfyui.lint import blocking_problem\nfrom calliope.comfyui.parser import parse_dynamic_inputs\nfrom calliope.comfyui.patcher import patch_workflow\nfrom calliope.comfyui.roles import input_has_role\nfrom calliope.db import get_db\nfrom calliope.events.bus import event_bus\nfrom calliope.export.runner import run_export\nfrom calliope.queue.manager import queue_manager\nfrom calliope.queue.workflow_test import (\n TEST_ORIGIN,\n prune_workflow_tests,\n workflow_test_dir,\n)\n\n",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 30
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 2
|
|
}
|
|
}
|
|
],
|
|
"message": "Organize imports"
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 2
|
|
},
|
|
"message": "Import block is un-sorted or un-formatted",
|
|
"name": "unsorted-imports",
|
|
"noqa_row": 2,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "N813",
|
|
"end_location": {
|
|
"column": 37,
|
|
"row": 9
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/queue/worker.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 21,
|
|
"row": 9
|
|
},
|
|
"message": "Camelcase `Path` imported as lowercase `_fs_path`",
|
|
"name": "camelcase-imported-as-lowercase",
|
|
"noqa_row": 9,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/camelcase-imported-as-lowercase"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "N818",
|
|
"end_location": {
|
|
"column": 23,
|
|
"row": 55
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/queue/worker.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 7,
|
|
"row": 55
|
|
},
|
|
"message": "Exception name `_CancelledByUser` should be named with an Error suffix",
|
|
"name": "error-suffix-on-exception-name",
|
|
"noqa_row": 55,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/error-suffix-on-exception-name"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 261
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/routers/agent.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 261
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 261,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 108,
|
|
"row": 315
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/routers/agent.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 315
|
|
},
|
|
"message": "Line too long (107 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 315,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 105,
|
|
"row": 324
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/routers/agent.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 324
|
|
},
|
|
"message": "Line too long (104 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 324,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 108,
|
|
"row": 337
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/routers/agent.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 337
|
|
},
|
|
"message": "Line too long (107 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 337,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 105,
|
|
"row": 346
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/routers/agent.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 346
|
|
},
|
|
"message": "Line too long (104 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 346,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 108,
|
|
"row": 884
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/routers/canvas.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 884
|
|
},
|
|
"message": "Line too long (107 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 884,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "F401",
|
|
"end_location": {
|
|
"column": 32,
|
|
"row": 11
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/routers/library.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "from typing import Any",
|
|
"end_location": {
|
|
"column": 32,
|
|
"row": 11
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 11
|
|
}
|
|
}
|
|
],
|
|
"message": "Remove unused import: `typing.Literal`"
|
|
},
|
|
"location": {
|
|
"column": 25,
|
|
"row": 11
|
|
},
|
|
"message": "`typing.Literal` imported but unused",
|
|
"name": "unused-import",
|
|
"noqa_row": 11,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unused-import"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "F401",
|
|
"end_location": {
|
|
"column": 27,
|
|
"row": 20
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/routers/library.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "from calliope.routers.canvas import (\n _path_is_referenced,\n _project_path_referenced,\n)",
|
|
"end_location": {
|
|
"column": 2,
|
|
"row": 22
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 18
|
|
}
|
|
}
|
|
],
|
|
"message": "Remove unused import: `calliope.routers.canvas._playground_file_roots`"
|
|
},
|
|
"location": {
|
|
"column": 5,
|
|
"row": 20
|
|
},
|
|
"message": "`calliope.routers.canvas._playground_file_roots` imported but unused",
|
|
"name": "unused-import",
|
|
"noqa_row": 20,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unused-import"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 134,
|
|
"row": 19
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/routers/projects.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 19
|
|
},
|
|
"message": "Line too long (133 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 24,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 117,
|
|
"row": 119
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/routers/scenes.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 119
|
|
},
|
|
"message": "Line too long (116 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 119,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 107,
|
|
"row": 251
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/routers/shots.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 251
|
|
},
|
|
"message": "Line too long (106 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 253,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 110,
|
|
"row": 323
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/routers/shots.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 323
|
|
},
|
|
"message": "Line too long (109 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 323,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 119,
|
|
"row": 495
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/routers/shots.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 495
|
|
},
|
|
"message": "Line too long (118 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 495,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 642
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/routers/shots.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 642
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 642,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E402",
|
|
"end_location": {
|
|
"column": 37,
|
|
"row": 26
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/routers/story.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 1,
|
|
"row": 26
|
|
},
|
|
"message": "Module level import not at top of file",
|
|
"name": "module-import-not-at-top-of-file",
|
|
"noqa_row": 26,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E402",
|
|
"end_location": {
|
|
"column": 44,
|
|
"row": 27
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/routers/story.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 1,
|
|
"row": 27
|
|
},
|
|
"message": "Module level import not at top of file",
|
|
"name": "module-import-not-at-top-of-file",
|
|
"noqa_row": 27,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E402",
|
|
"end_location": {
|
|
"column": 42,
|
|
"row": 28
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/routers/story.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 1,
|
|
"row": 28
|
|
},
|
|
"message": "Module level import not at top of file",
|
|
"name": "module-import-not-at-top-of-file",
|
|
"noqa_row": 28,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E402",
|
|
"end_location": {
|
|
"column": 2,
|
|
"row": 38
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/routers/story.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 1,
|
|
"row": 29
|
|
},
|
|
"message": "Module level import not at top of file",
|
|
"name": "module-import-not-at-top-of-file",
|
|
"noqa_row": 29,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E741",
|
|
"end_location": {
|
|
"column": 22,
|
|
"row": 182
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/routers/story.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 21,
|
|
"row": 182
|
|
},
|
|
"message": "Ambiguous variable name: `l`",
|
|
"name": "ambiguous-variable-name",
|
|
"noqa_row": 182,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/ambiguous-variable-name"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 115,
|
|
"row": 314
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/routers/story.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 314
|
|
},
|
|
"message": "Line too long (114 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 314,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 318
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/routers/story.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 318
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 320,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 117,
|
|
"row": 319
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/routers/story.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 319
|
|
},
|
|
"message": "Line too long (116 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 320,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 102,
|
|
"row": 332
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/routers/story.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 332
|
|
},
|
|
"message": "Line too long (101 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 334,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 419
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/routers/story.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 419
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 419,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 117,
|
|
"row": 426
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/routers/story.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 426
|
|
},
|
|
"message": "Line too long (116 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 426,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 111,
|
|
"row": 431
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/routers/story.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 431
|
|
},
|
|
"message": "Line too long (110 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 433,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E741",
|
|
"end_location": {
|
|
"column": 47,
|
|
"row": 455
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/routers/story.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 46,
|
|
"row": 455
|
|
},
|
|
"message": "Ambiguous variable name: `l`",
|
|
"name": "ambiguous-variable-name",
|
|
"noqa_row": 455,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/ambiguous-variable-name"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "I001",
|
|
"end_location": {
|
|
"column": 49,
|
|
"row": 33
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/routers/workbench.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "from __future__ import annotations\n\nimport asyncio\nimport json\nimport re\nfrom typing import Any, Literal\n\nfrom fastapi import APIRouter, HTTPException\nfrom pydantic import BaseModel, Field\n\nfrom calliope import config\nfrom calliope.agent.agents_registry import AGENT_KEYS, AGENTS\nfrom calliope.agent.llm import LLMClient, extract_json\nfrom calliope.agent.skills_store import effective_skill_dirs, list_skills\nfrom calliope.comfyui.parser import parse_dynamic_inputs\nfrom calliope.comfyui.smart_fill import smart_fill_inputs\nfrom calliope.db import get_db, row_to_dict\nfrom calliope.events.bus import event_bus\nfrom calliope.queue.manager import queue_manager\n\n",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 35
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 15
|
|
}
|
|
}
|
|
],
|
|
"message": "Organize imports"
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 15
|
|
},
|
|
"message": "Import block is un-sorted or un-formatted",
|
|
"name": "unsorted-imports",
|
|
"noqa_row": 15,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 480
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/routers/workbench.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 480
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 480,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 544
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/routers/workbench.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 544
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 544,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 102,
|
|
"row": 575
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/routers/workbench.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 575
|
|
},
|
|
"message": "Line too long (101 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 575,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 102,
|
|
"row": 598
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/routers/workbench.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 598
|
|
},
|
|
"message": "Line too long (101 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 598,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 124,
|
|
"row": 685
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/routers/workbench.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 685
|
|
},
|
|
"message": "Line too long (123 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 685,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 112,
|
|
"row": 719
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/src/calliope/routers/workbench.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 719
|
|
},
|
|
"message": "Line too long (111 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 719,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "F401",
|
|
"end_location": {
|
|
"column": 15,
|
|
"row": 5
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_attach.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 6
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 5
|
|
}
|
|
}
|
|
],
|
|
"message": "Remove unused import: `asyncio`"
|
|
},
|
|
"location": {
|
|
"column": 8,
|
|
"row": 5
|
|
},
|
|
"message": "`asyncio` imported but unused",
|
|
"name": "unused-import",
|
|
"noqa_row": 5,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unused-import"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 104,
|
|
"row": 359
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_canvas_plugin.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 359
|
|
},
|
|
"message": "Line too long (103 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 359,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "I001",
|
|
"end_location": {
|
|
"column": 70,
|
|
"row": 18
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_comfy_mcp.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "from __future__ import annotations\n\nimport asyncio\nimport json\nfrom typing import Any\nfrom unittest.mock import AsyncMock, MagicMock, patch\n\nimport pytest\nfrom anyio import BrokenResourceError, ClosedResourceError\n\nfrom calliope.agent.harness.plugins import comfy_mcp\nfrom calliope.agent.harness.plugins.comfy_mcp import ComfyMcpClient\nfrom calliope.agent.harness.prompts import SystemPromptService\nfrom calliope.agent.harness.registry import ToolContext, ToolRegistry\n\n",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 21
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 5
|
|
}
|
|
}
|
|
],
|
|
"message": "Organize imports"
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 5
|
|
},
|
|
"message": "Import block is un-sorted or un-formatted",
|
|
"name": "unsorted-imports",
|
|
"noqa_row": 5,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "I001",
|
|
"end_location": {
|
|
"column": 31,
|
|
"row": 17
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_event_log.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "from __future__ import annotations\n\nimport asyncio\nimport json\n\nfrom calliope.agent.harness import build_harness\nfrom calliope.agent.harness import log as session_log\nfrom calliope.agent.harness.prompts import SystemPromptService, register_builtin_sections\nfrom calliope.agent.harness.registry import (\n ToolContext,\n ToolDefinition,\n allow,\n deny,\n)\nfrom calliope.config import settings\nfrom calliope.db import get_db\n\n",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 20
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 2
|
|
}
|
|
}
|
|
],
|
|
"message": "Organize imports"
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 2
|
|
},
|
|
"message": "Import block is un-sorted or un-formatted",
|
|
"name": "unsorted-imports",
|
|
"noqa_row": 2,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "F401",
|
|
"end_location": {
|
|
"column": 12,
|
|
"row": 5
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_event_log.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 6
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 5
|
|
}
|
|
}
|
|
],
|
|
"message": "Remove unused import: `json`"
|
|
},
|
|
"location": {
|
|
"column": 8,
|
|
"row": 5
|
|
},
|
|
"message": "`json` imported but unused",
|
|
"name": "unused-import",
|
|
"noqa_row": 5,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unused-import"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "F401",
|
|
"end_location": {
|
|
"column": 19,
|
|
"row": 12
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_event_log.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "from calliope.agent.harness.registry import (\n ToolContext,\n allow,\n deny,\n)",
|
|
"end_location": {
|
|
"column": 2,
|
|
"row": 15
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 10
|
|
}
|
|
}
|
|
],
|
|
"message": "Remove unused import: `calliope.agent.harness.registry.ToolDefinition`"
|
|
},
|
|
"location": {
|
|
"column": 5,
|
|
"row": 12
|
|
},
|
|
"message": "`calliope.agent.harness.registry.ToolDefinition` imported but unused",
|
|
"name": "unused-import",
|
|
"noqa_row": 12,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unused-import"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 53
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_event_log.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 53
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 53,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 117,
|
|
"row": 172
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_event_log.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 172
|
|
},
|
|
"message": "Line too long (116 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 172,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 105,
|
|
"row": 186
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_event_log.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 186
|
|
},
|
|
"message": "Line too long (104 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 186,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 130,
|
|
"row": 228
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_event_log.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 228
|
|
},
|
|
"message": "Line too long (129 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 228,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 111,
|
|
"row": 295
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_event_log.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 295
|
|
},
|
|
"message": "Line too long (110 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 295,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "I001",
|
|
"end_location": {
|
|
"column": 37,
|
|
"row": 18
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_harness.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "from __future__ import annotations\n\nimport asyncio\nimport json\nfrom pathlib import Path\nfrom typing import Any\n\nimport pytest\n\nfrom calliope.agent.harness import log as session_log\nfrom calliope.agent.harness import tools as harness_tools\nfrom calliope.agent.harness.loop import MAX_ITERATIONS, _default_max_iterations, run_turn\nfrom calliope.agent.harness.orchestrator import orchestrate\nfrom calliope.agent.harness.registry import ToolContext\nfrom calliope.agent.harness.tools import execute_tool, openai_tools_payload\nfrom calliope.config import settings\n\n",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 21
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 3
|
|
}
|
|
}
|
|
],
|
|
"message": "Organize imports"
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 3
|
|
},
|
|
"message": "Import block is un-sorted or un-formatted",
|
|
"name": "unsorted-imports",
|
|
"noqa_row": 3,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 106,
|
|
"row": 368
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_harness.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 368
|
|
},
|
|
"message": "Line too long (105 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 368,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "I001",
|
|
"end_location": {
|
|
"column": 58,
|
|
"row": 700
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_harness.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": " import httpx\n\n import calliope.agent.harness.orchestrator as orch\n from calliope.agent.harness import log as session_log\n",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 701
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 698
|
|
}
|
|
}
|
|
],
|
|
"message": "Organize imports"
|
|
},
|
|
"location": {
|
|
"column": 5,
|
|
"row": 698
|
|
},
|
|
"message": "Import block is un-sorted or un-formatted",
|
|
"name": "unsorted-imports",
|
|
"noqa_row": 698,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "I001",
|
|
"end_location": {
|
|
"column": 16,
|
|
"row": 759
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_harness.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": " # A readable image under assets_dir is required for the parts-list\n # projection (unresolvable attachments degrade to the text appendix).\n import struct\n import zlib\n\n import calliope.agent.harness.orchestrator as orch\n from calliope.agent.harness import log as session_log\n",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 760
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 753
|
|
}
|
|
}
|
|
],
|
|
"message": "Organize imports"
|
|
},
|
|
"location": {
|
|
"column": 5,
|
|
"row": 753
|
|
},
|
|
"message": "Import block is un-sorted or un-formatted",
|
|
"name": "unsorted-imports",
|
|
"noqa_row": 753,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 127,
|
|
"row": 28
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_interaction.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 28
|
|
},
|
|
"message": "Line too long (126 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 28,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 108,
|
|
"row": 61
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_interaction.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 61
|
|
},
|
|
"message": "Line too long (107 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 61,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 108,
|
|
"row": 80
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_interaction.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 80
|
|
},
|
|
"message": "Line too long (107 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 80,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 108,
|
|
"row": 97
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_interaction.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 97
|
|
},
|
|
"message": "Line too long (107 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 97,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 114
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_interaction.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 114
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 114,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 112,
|
|
"row": 159
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_interaction.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 159
|
|
},
|
|
"message": "Line too long (111 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 159,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 102,
|
|
"row": 335
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_interaction.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 335
|
|
},
|
|
"message": "Line too long (101 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 335,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E731",
|
|
"end_location": {
|
|
"column": 95,
|
|
"row": 43
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_linking.py",
|
|
"fix": {
|
|
"applicability": "unsafe",
|
|
"edits": [
|
|
{
|
|
"content": "def session_events():\n return [d for (t, d) in captured_events if t == \"agent.session.updated\"]",
|
|
"end_location": {
|
|
"column": 95,
|
|
"row": 43
|
|
},
|
|
"location": {
|
|
"column": 5,
|
|
"row": 43
|
|
}
|
|
}
|
|
],
|
|
"message": "Rewrite `session_events` as a `def`"
|
|
},
|
|
"location": {
|
|
"column": 5,
|
|
"row": 43
|
|
},
|
|
"message": "Do not assign a `lambda` expression, use a `def`",
|
|
"name": "lambda-assignment",
|
|
"noqa_row": 43,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/lambda-assignment"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 106,
|
|
"row": 17
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_llm_roles.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 17
|
|
},
|
|
"message": "Line too long (105 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 17,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 107,
|
|
"row": 18
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_llm_roles.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 18
|
|
},
|
|
"message": "Line too long (106 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 18,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 124,
|
|
"row": 31
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_memory.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 31
|
|
},
|
|
"message": "Line too long (123 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 31,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 105,
|
|
"row": 44
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_memory.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 44
|
|
},
|
|
"message": "Line too long (104 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 44,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 109,
|
|
"row": 53
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_memory.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 53
|
|
},
|
|
"message": "Line too long (108 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 53,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 104,
|
|
"row": 59
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_memory.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 59
|
|
},
|
|
"message": "Line too long (103 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 59,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 105,
|
|
"row": 60
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_memory.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 60
|
|
},
|
|
"message": "Line too long (104 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 60,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 115,
|
|
"row": 76
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_memory.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 76
|
|
},
|
|
"message": "Line too long (114 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 76,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 104,
|
|
"row": 82
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_memory.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 82
|
|
},
|
|
"message": "Line too long (103 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 82,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 105,
|
|
"row": 92
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_memory.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 92
|
|
},
|
|
"message": "Line too long (104 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 92,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "F401",
|
|
"end_location": {
|
|
"column": 41,
|
|
"row": 100
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_memory.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 101
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 100
|
|
}
|
|
}
|
|
],
|
|
"message": "Remove unused import: `calliope.config.settings`"
|
|
},
|
|
"location": {
|
|
"column": 33,
|
|
"row": 100
|
|
},
|
|
"message": "`calliope.config.settings` imported but unused",
|
|
"name": "unused-import",
|
|
"noqa_row": 100,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unused-import"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 118
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_memory.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 118
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 118,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 138
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_memory.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 138
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 138,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "F841",
|
|
"end_location": {
|
|
"column": 9,
|
|
"row": 42
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_security.py",
|
|
"fix": {
|
|
"applicability": "unsafe",
|
|
"edits": [
|
|
{
|
|
"content": "",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 43
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 42
|
|
}
|
|
}
|
|
],
|
|
"message": "Remove assignment to unused variable `prev`"
|
|
},
|
|
"location": {
|
|
"column": 5,
|
|
"row": 42
|
|
},
|
|
"message": "Local variable `prev` is assigned to but never used",
|
|
"name": "unused-variable",
|
|
"noqa_row": 42,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unused-variable"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 290
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_security.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 290
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 290,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 449
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_security.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 449
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 451,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 102,
|
|
"row": 804
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_security.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 804
|
|
},
|
|
"message": "Line too long (101 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 804,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 860
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_security.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 860
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 862,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 915
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_security.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 915
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 917,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 1106
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_security.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 1106
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 1106,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 102,
|
|
"row": 1171
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_security.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 1171
|
|
},
|
|
"message": "Line too long (101 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 1171,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "F821",
|
|
"end_location": {
|
|
"column": 24,
|
|
"row": 1223
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_security.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 21,
|
|
"row": 1223
|
|
},
|
|
"message": "Undefined name `Any`",
|
|
"name": "undefined-name",
|
|
"noqa_row": 1223,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/undefined-name"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "F401",
|
|
"end_location": {
|
|
"column": 20,
|
|
"row": 1379
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_security.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 1380
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 1379
|
|
}
|
|
}
|
|
],
|
|
"message": "Remove unused import: `tempfile`"
|
|
},
|
|
"location": {
|
|
"column": 12,
|
|
"row": 1379
|
|
},
|
|
"message": "`tempfile` imported but unused",
|
|
"name": "unused-import",
|
|
"noqa_row": 1379,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unused-import"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 115,
|
|
"row": 1617
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_security.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 1617
|
|
},
|
|
"message": "Line too long (114 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 1617,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 106,
|
|
"row": 39
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_agent_skills.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 39
|
|
},
|
|
"message": "Line too long (105 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 39,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 20
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_asset_library.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 20
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 20,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 104,
|
|
"row": 116
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_asset_library.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 116
|
|
},
|
|
"message": "Line too long (103 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 116,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "I001",
|
|
"end_location": {
|
|
"column": 56,
|
|
"row": 12
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_build_scene_gates.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "from __future__ import annotations\n\nimport asyncio\nimport tempfile\nfrom pathlib import Path\n\nimport pytest\n\nfrom calliope.agent.harness.registry import ToolContext\nfrom calliope.config import settings\nfrom calliope.db import get_db, migrate_db\n\n\n",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 15
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 2
|
|
}
|
|
}
|
|
],
|
|
"message": "Organize imports"
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 2
|
|
},
|
|
"message": "Import block is un-sorted or un-formatted",
|
|
"name": "unsorted-imports",
|
|
"noqa_row": 2,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 92
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_canvas_delete.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 92
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 92,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "F841",
|
|
"end_location": {
|
|
"column": 11,
|
|
"row": 227
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_canvas_delete.py",
|
|
"fix": {
|
|
"applicability": "unsafe",
|
|
"edits": [
|
|
{
|
|
"content": "",
|
|
"end_location": {
|
|
"column": 14,
|
|
"row": 227
|
|
},
|
|
"location": {
|
|
"column": 5,
|
|
"row": 227
|
|
}
|
|
}
|
|
],
|
|
"message": "Remove assignment to unused variable `node_b`"
|
|
},
|
|
"location": {
|
|
"column": 5,
|
|
"row": 227
|
|
},
|
|
"message": "Local variable `node_b` is assigned to but never used",
|
|
"name": "unused-variable",
|
|
"noqa_row": 227,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unused-variable"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "I001",
|
|
"end_location": {
|
|
"column": 31,
|
|
"row": 23
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_canvas_layout.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "from __future__ import annotations\n\nimport asyncio\n\nimport pytest\n\nfrom calliope.db import get_db\nfrom calliope.routers.canvas import (\n ARTIFACT_COL_WIDTH,\n ARTIFACT_GRID_COLS,\n ARTIFACT_GRID_X,\n ARTIFACT_ROW_HEIGHT,\n ENTITY_COLUMNS,\n ENTITY_ROW_HEIGHT,\n next_artifact_slot,\n seed_entities,\n)\n\n\n",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 26
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 7
|
|
}
|
|
}
|
|
],
|
|
"message": "Organize imports"
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 7
|
|
},
|
|
"message": "Import block is un-sorted or un-formatted",
|
|
"name": "unsorted-imports",
|
|
"noqa_row": 7,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "F401",
|
|
"end_location": {
|
|
"column": 23,
|
|
"row": 15
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_canvas_layout.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "from calliope.routers.canvas import (\n ARTIFACT_COL_WIDTH,\n ARTIFACT_GRID_X,\n ARTIFACT_ROW_HEIGHT,\n ENTITY_COLUMNS,\n ENTITY_ROW_HEIGHT,\n next_artifact_slot,\n seed_entities,\n)",
|
|
"end_location": {
|
|
"column": 2,
|
|
"row": 22
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 13
|
|
}
|
|
}
|
|
],
|
|
"message": "Remove unused import: `calliope.routers.canvas.ARTIFACT_GRID_COLS`"
|
|
},
|
|
"location": {
|
|
"column": 5,
|
|
"row": 15
|
|
},
|
|
"message": "`calliope.routers.canvas.ARTIFACT_GRID_COLS` imported but unused",
|
|
"name": "unused-import",
|
|
"noqa_row": 15,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unused-import"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "I001",
|
|
"end_location": {
|
|
"column": 31,
|
|
"row": 21
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_clips.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "from __future__ import annotations\n\nimport asyncio\nimport json\n\nimport pytest\n\nfrom calliope.agent.coverage_agent import _normalize_clips, expand_scene_coverage\nfrom calliope.agent.video_agent import (\n _clip_prompt_hash,\n _fetch_clips,\n enqueue_video_jobs,\n)\nfrom calliope.config import settings\nfrom calliope.db import get_db\n\n",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 24
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 7
|
|
}
|
|
}
|
|
],
|
|
"message": "Organize imports"
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 7
|
|
},
|
|
"message": "Import block is un-sorted or un-formatted",
|
|
"name": "unsorted-imports",
|
|
"noqa_row": 7,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 106,
|
|
"row": 163
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_clips.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 163
|
|
},
|
|
"message": "Line too long (105 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 163,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 166
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_clips.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 166
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 166,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 106,
|
|
"row": 201
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_clips.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 201
|
|
},
|
|
"message": "Line too long (105 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 201,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 204
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_clips.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 204
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 204,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 109,
|
|
"row": 237
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_clips.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 237
|
|
},
|
|
"message": "Line too long (108 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 237,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 106,
|
|
"row": 547
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_clips.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 547
|
|
},
|
|
"message": "Line too long (105 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 547,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "F841",
|
|
"end_location": {
|
|
"column": 10,
|
|
"row": 574
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_clips.py",
|
|
"fix": {
|
|
"applicability": "unsafe",
|
|
"edits": [
|
|
{
|
|
"content": "",
|
|
"end_location": {
|
|
"column": 13,
|
|
"row": 574
|
|
},
|
|
"location": {
|
|
"column": 5,
|
|
"row": 574
|
|
}
|
|
}
|
|
],
|
|
"message": "Remove assignment to unused variable `scene`"
|
|
},
|
|
"location": {
|
|
"column": 5,
|
|
"row": 574
|
|
},
|
|
"message": "Local variable `scene` is assigned to but never used",
|
|
"name": "unused-variable",
|
|
"noqa_row": 574,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unused-variable"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 107,
|
|
"row": 576
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_clips.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 576
|
|
},
|
|
"message": "Line too long (106 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 576,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "F841",
|
|
"end_location": {
|
|
"column": 10,
|
|
"row": 585
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_clips.py",
|
|
"fix": {
|
|
"applicability": "unsafe",
|
|
"edits": [
|
|
{
|
|
"content": "",
|
|
"end_location": {
|
|
"column": 13,
|
|
"row": 585
|
|
},
|
|
"location": {
|
|
"column": 5,
|
|
"row": 585
|
|
}
|
|
}
|
|
],
|
|
"message": "Remove assignment to unused variable `scene`"
|
|
},
|
|
"location": {
|
|
"column": 5,
|
|
"row": 585
|
|
},
|
|
"message": "Local variable `scene` is assigned to but never used",
|
|
"name": "unused-variable",
|
|
"noqa_row": 585,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unused-variable"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 108,
|
|
"row": 602
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_clips.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 602
|
|
},
|
|
"message": "Line too long (107 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 602,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 117,
|
|
"row": 37
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_contract_vocabulary.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 37
|
|
},
|
|
"message": "Line too long (116 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 37,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 121,
|
|
"row": 63
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_contract_vocabulary.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 63
|
|
},
|
|
"message": "Line too long (120 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 63,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 120,
|
|
"row": 73
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_contract_vocabulary.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 73
|
|
},
|
|
"message": "Line too long (119 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 73,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 106,
|
|
"row": 84
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_contract_vocabulary.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 84
|
|
},
|
|
"message": "Line too long (105 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 84,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "I001",
|
|
"end_location": {
|
|
"column": 31,
|
|
"row": 11
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_export.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "from __future__ import annotations\n\nimport time\nfrom pathlib import Path\n\nimport pytest\n\nfrom calliope.comfyui.client import ComfyUIClient\nfrom calliope.config import settings\nfrom calliope.db import get_db\nfrom calliope.export.runner import (\n DEFAULT_EXPORT_FPS,\n build_ffmpeg_cmd,\n collect_clips,\n parse_rate,\n target_fps,\n)\n\n\n",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 14
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 1
|
|
}
|
|
}
|
|
],
|
|
"message": "Organize imports"
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 1
|
|
},
|
|
"message": "Import block is un-sorted or un-formatted",
|
|
"name": "unsorted-imports",
|
|
"noqa_row": 1,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 111,
|
|
"row": 9
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_export.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 9
|
|
},
|
|
"message": "Line too long (110 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 9,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "I001",
|
|
"end_location": {
|
|
"column": 31,
|
|
"row": 30
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_golden_replay.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "from __future__ import annotations\n\nimport asyncio\nimport json\nimport tempfile\nfrom pathlib import Path\n\nimport pytest\n\nfrom calliope.agent.harness import log as session_log\nfrom calliope.agent.harness import loop as loop_mod\nfrom calliope.agent.harness.registry import ToolContext\nfrom calliope.config import settings\nfrom calliope.db import get_db\n\n",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 32
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 17
|
|
}
|
|
}
|
|
],
|
|
"message": "Organize imports"
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 17
|
|
},
|
|
"message": "Import block is un-sorted or un-formatted",
|
|
"name": "unsorted-imports",
|
|
"noqa_row": 17,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 102,
|
|
"row": 34
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_golden_replay.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 34
|
|
},
|
|
"message": "Line too long (101 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 34,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 128,
|
|
"row": 142
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_golden_replay.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 142
|
|
},
|
|
"message": "Line too long (127 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 142,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 104,
|
|
"row": 257
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_golden_replay.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 257
|
|
},
|
|
"message": "Line too long (103 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 257,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 105,
|
|
"row": 258
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_golden_replay.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 258
|
|
},
|
|
"message": "Line too long (104 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 258,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 104,
|
|
"row": 259
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_golden_replay.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 259
|
|
},
|
|
"message": "Line too long (103 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 259,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 111,
|
|
"row": 37
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_llm_connection_test.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 37
|
|
},
|
|
"message": "Line too long (110 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 37,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 114,
|
|
"row": 152
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_llm_profiles.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 152
|
|
},
|
|
"message": "Line too long (113 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 152,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 115,
|
|
"row": 153
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_llm_profiles.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 153
|
|
},
|
|
"message": "Line too long (114 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 153,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 114,
|
|
"row": 178
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_llm_profiles.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 178
|
|
},
|
|
"message": "Line too long (113 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 178,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 115,
|
|
"row": 179
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_llm_profiles.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 179
|
|
},
|
|
"message": "Line too long (114 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 179,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 112,
|
|
"row": 205
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_llm_profiles.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 205
|
|
},
|
|
"message": "Line too long (111 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 205,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 113,
|
|
"row": 252
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_llm_profiles.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 252
|
|
},
|
|
"message": "Line too long (112 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 252,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 114,
|
|
"row": 253
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_llm_profiles.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 253
|
|
},
|
|
"message": "Line too long (113 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 253,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 113,
|
|
"row": 263
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_llm_profiles.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 263
|
|
},
|
|
"message": "Line too long (112 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 263,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "I001",
|
|
"end_location": {
|
|
"column": 31,
|
|
"row": 28
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_loop_bridge.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "from __future__ import annotations\n\nimport asyncio\nimport json\nimport tempfile\nfrom pathlib import Path\n\nimport pytest\n\nfrom calliope.agent.harness import log as session_log\nfrom calliope.agent.harness import loop as loop_mod\nfrom calliope.agent.harness.loop import (\n _BRIDGE_CAP_PER_TURN,\n NO_FUNCTION_CALLING_NOTE,\n _extract_json_action,\n _is_readonly_tool,\n)\nfrom calliope.agent.harness.registry import ToolContext\nfrom calliope.config import settings\nfrom calliope.db import get_db\n\n\n",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 31
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 9
|
|
}
|
|
}
|
|
],
|
|
"message": "Organize imports"
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 9
|
|
},
|
|
"message": "Import block is un-sorted or un-formatted",
|
|
"name": "unsorted-imports",
|
|
"noqa_row": 9,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 106,
|
|
"row": 139
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_loop_bridge.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 139
|
|
},
|
|
"message": "Line too long (105 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 139,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 166
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_loop_bridge.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 166
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 166,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 110,
|
|
"row": 199
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_loop_bridge.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 199
|
|
},
|
|
"message": "Line too long (109 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 199,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 105,
|
|
"row": 368
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_loop_bridge.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 368
|
|
},
|
|
"message": "Line too long (104 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 368,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "I001",
|
|
"end_location": {
|
|
"column": 31,
|
|
"row": 9
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_pipeline.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "from __future__ import annotations\n\nimport json\nfrom pathlib import Path\n\nfrom calliope.comfyui.parser import parse_dynamic_inputs, parse_dynamic_outputs\nfrom calliope.comfyui.patcher import patch_workflow\nfrom calliope.config import settings\nfrom calliope.db import get_db\n\n",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 12
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 1
|
|
}
|
|
}
|
|
],
|
|
"message": "Organize imports"
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 1
|
|
},
|
|
"message": "Import block is un-sorted or un-formatted",
|
|
"name": "unsorted-imports",
|
|
"noqa_row": 1,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "F401",
|
|
"end_location": {
|
|
"column": 12,
|
|
"row": 3
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_pipeline.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 4
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 3
|
|
}
|
|
}
|
|
],
|
|
"message": "Remove unused import: `json`"
|
|
},
|
|
"location": {
|
|
"column": 8,
|
|
"row": 3
|
|
},
|
|
"message": "`json` imported but unused",
|
|
"name": "unused-import",
|
|
"noqa_row": 3,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unused-import"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "I001",
|
|
"end_location": {
|
|
"column": 54,
|
|
"row": 90
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_pipeline.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": " import httpx\n\n from calliope.comfyui.client import ComfyUIClient\n",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 91
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 89
|
|
}
|
|
}
|
|
],
|
|
"message": "Organize imports"
|
|
},
|
|
"location": {
|
|
"column": 5,
|
|
"row": 89
|
|
},
|
|
"message": "Import block is un-sorted or un-formatted",
|
|
"name": "unsorted-imports",
|
|
"noqa_row": 89,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "I001",
|
|
"end_location": {
|
|
"column": 54,
|
|
"row": 126
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_pipeline.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": " import asyncio\n\n import httpx\n\n from calliope.comfyui.client import ComfyUIClient\n",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 127
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 124
|
|
}
|
|
}
|
|
],
|
|
"message": "Organize imports"
|
|
},
|
|
"location": {
|
|
"column": 5,
|
|
"row": 124
|
|
},
|
|
"message": "Import block is un-sorted or un-formatted",
|
|
"name": "unsorted-imports",
|
|
"noqa_row": 124,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "I001",
|
|
"end_location": {
|
|
"column": 54,
|
|
"row": 156
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_pipeline.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": " import asyncio\n\n from calliope.comfyui.client import ComfyUIClient\n",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 157
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 155
|
|
}
|
|
}
|
|
],
|
|
"message": "Organize imports"
|
|
},
|
|
"location": {
|
|
"column": 5,
|
|
"row": 155
|
|
},
|
|
"message": "Import block is un-sorted or un-formatted",
|
|
"name": "unsorted-imports",
|
|
"noqa_row": 155,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "I001",
|
|
"end_location": {
|
|
"column": 37,
|
|
"row": 10
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_playground.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "from __future__ import annotations\n\nimport tempfile\nfrom pathlib import Path\n\nimport pytest\nfrom fastapi.testclient import TestClient\n\nfrom calliope.db import migrate_db\nfrom calliope.main import create_app\n\n",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 13
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 1
|
|
}
|
|
}
|
|
],
|
|
"message": "Organize imports"
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 1
|
|
},
|
|
"message": "Import block is un-sorted or un-formatted",
|
|
"name": "unsorted-imports",
|
|
"noqa_row": 1,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "I001",
|
|
"end_location": {
|
|
"column": 48,
|
|
"row": 31
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_playground.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": " import asyncio\n\n import calliope.config as config_module\n",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 32
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 30
|
|
}
|
|
}
|
|
],
|
|
"message": "Organize imports"
|
|
},
|
|
"location": {
|
|
"column": 9,
|
|
"row": 30
|
|
},
|
|
"message": "Import block is un-sorted or un-formatted",
|
|
"name": "unsorted-imports",
|
|
"noqa_row": 30,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "N817",
|
|
"end_location": {
|
|
"column": 34,
|
|
"row": 110
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_playground.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 25,
|
|
"row": 110
|
|
},
|
|
"message": "CamelCase `Path` imported as acronym `P`",
|
|
"name": "camelcase-imported-as-acronym",
|
|
"noqa_row": 110,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/camelcase-imported-as-acronym"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "I001",
|
|
"end_location": {
|
|
"column": 2,
|
|
"row": 23
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_prior_reports.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "from __future__ import annotations\n\nimport asyncio\nimport tempfile\nfrom pathlib import Path\n\nimport pytest\n\nfrom calliope.agent.harness.orchestrator import (\n _PRIOR_REPORT_CHARS,\n ROLE_TOOLS,\n _prior_reports_digest,\n)\nfrom calliope.agent.harness.registry import ToolContext\nfrom calliope.config import settings\nfrom calliope.db import get_db\n\n",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 25
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 7
|
|
}
|
|
}
|
|
],
|
|
"message": "Organize imports"
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 7
|
|
},
|
|
"message": "Import block is un-sorted or un-formatted",
|
|
"name": "unsorted-imports",
|
|
"noqa_row": 7,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 102,
|
|
"row": 216
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_prior_reports.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 216
|
|
},
|
|
"message": "Line too long (101 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 216,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "I001",
|
|
"end_location": {
|
|
"column": 35,
|
|
"row": 11
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_projects.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "from __future__ import annotations\n\nimport tempfile\nfrom pathlib import Path\n\nimport pytest\nfrom fastapi.testclient import TestClient\n\nfrom calliope.config import Settings\nfrom calliope.db import migrate_db\nfrom calliope.main import create_app\n\n\n",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 14
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 1
|
|
}
|
|
}
|
|
],
|
|
"message": "Organize imports"
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 1
|
|
},
|
|
"message": "Import block is un-sorted or un-formatted",
|
|
"name": "unsorted-imports",
|
|
"noqa_row": 1,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "F401",
|
|
"end_location": {
|
|
"column": 37,
|
|
"row": 9
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_projects.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 10
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 9
|
|
}
|
|
}
|
|
],
|
|
"message": "Remove unused import: `calliope.config.Settings`"
|
|
},
|
|
"location": {
|
|
"column": 29,
|
|
"row": 9
|
|
},
|
|
"message": "`calliope.config.Settings` imported but unused",
|
|
"name": "unused-import",
|
|
"noqa_row": 9,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unused-import"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "I001",
|
|
"end_location": {
|
|
"column": 23,
|
|
"row": 18
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_projects.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": " import asyncio\n\n import calliope.config as config_module\n",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 19
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 17
|
|
}
|
|
}
|
|
],
|
|
"message": "Organize imports"
|
|
},
|
|
"location": {
|
|
"column": 9,
|
|
"row": 17
|
|
},
|
|
"message": "Import block is un-sorted or un-formatted",
|
|
"name": "unsorted-imports",
|
|
"noqa_row": 17,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "N802",
|
|
"end_location": {
|
|
"column": 15,
|
|
"row": 47
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_real_workflow_status.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 9,
|
|
"row": 47
|
|
},
|
|
"message": "Function name `do_GET` should be lowercase",
|
|
"name": "invalid-function-name",
|
|
"noqa_row": 47,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/invalid-function-name"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "N802",
|
|
"end_location": {
|
|
"column": 16,
|
|
"row": 71
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_real_workflow_status.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 9,
|
|
"row": 71
|
|
},
|
|
"message": "Function name `do_POST` should be lowercase",
|
|
"name": "invalid-function-name",
|
|
"noqa_row": 71,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/invalid-function-name"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 105,
|
|
"row": 315
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_real_workflow_status.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 100,
|
|
"row": 315
|
|
},
|
|
"message": "Line too long (105 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 315,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 105,
|
|
"row": 337
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_real_workflow_status.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 100,
|
|
"row": 337
|
|
},
|
|
"message": "Line too long (105 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 337,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 105,
|
|
"row": 348
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_real_workflow_status.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 100,
|
|
"row": 348
|
|
},
|
|
"message": "Line too long (105 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 348,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 105,
|
|
"row": 406
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_real_workflow_status.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 100,
|
|
"row": 406
|
|
},
|
|
"message": "Line too long (105 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 406,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "I001",
|
|
"end_location": {
|
|
"column": 65,
|
|
"row": 6
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_rebase_paths.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "from __future__ import annotations\n\nimport json\n\nfrom calliope.db import SCHEMA, get_db, rebase_stale_asset_paths\n\n\n",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 9
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 2
|
|
}
|
|
}
|
|
],
|
|
"message": "Organize imports"
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 2
|
|
},
|
|
"message": "Import block is un-sorted or un-formatted",
|
|
"name": "unsorted-imports",
|
|
"noqa_row": 2,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "F401",
|
|
"end_location": {
|
|
"column": 56,
|
|
"row": 9
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_run_workflow_batch.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "from calliope.agent.harness.registry import _db",
|
|
"end_location": {
|
|
"column": 61,
|
|
"row": 9
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 9
|
|
}
|
|
}
|
|
],
|
|
"message": "Remove unused import: `calliope.agent.harness.registry.ToolContext`"
|
|
},
|
|
"location": {
|
|
"column": 45,
|
|
"row": 9
|
|
},
|
|
"message": "`calliope.agent.harness.registry.ToolContext` imported but unused",
|
|
"name": "unused-import",
|
|
"noqa_row": 9,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unused-import"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 111,
|
|
"row": 25
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_run_workflow_batch.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 25
|
|
},
|
|
"message": "Line too long (110 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 25,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "I001",
|
|
"end_location": {
|
|
"column": 58,
|
|
"row": 61
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_run_workflow_batch.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": " from calliope.agent.harness import log as session_log\n from calliope.agent.harness.registry import ToolContext\n from calliope.agent.harness.tools import execute_tool\n",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 62
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 59
|
|
}
|
|
}
|
|
],
|
|
"message": "Organize imports"
|
|
},
|
|
"location": {
|
|
"column": 5,
|
|
"row": 59
|
|
},
|
|
"message": "Import block is un-sorted or un-formatted",
|
|
"name": "unsorted-imports",
|
|
"noqa_row": 59,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "F811",
|
|
"end_location": {
|
|
"column": 60,
|
|
"row": 59
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_run_workflow_batch.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 60
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 59
|
|
}
|
|
}
|
|
],
|
|
"message": "Remove definition: `ToolContext`"
|
|
},
|
|
"location": {
|
|
"column": 49,
|
|
"row": 59
|
|
},
|
|
"message": "Redefinition of unused `ToolContext` from line 9: `ToolContext` redefined here",
|
|
"name": "redefined-while-unused",
|
|
"noqa_row": 59,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/redefined-while-unused"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "W292",
|
|
"end_location": {
|
|
"column": 47,
|
|
"row": 105
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_run_workflow_batch.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "\n",
|
|
"end_location": {
|
|
"column": 47,
|
|
"row": 105
|
|
},
|
|
"location": {
|
|
"column": 47,
|
|
"row": 105
|
|
}
|
|
}
|
|
],
|
|
"message": "Add trailing newline"
|
|
},
|
|
"location": {
|
|
"column": 47,
|
|
"row": 105
|
|
},
|
|
"message": "No newline at end of file",
|
|
"name": "missing-newline-at-end-of-file",
|
|
"noqa_row": 105,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/missing-newline-at-end-of-file"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 369
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_scene_settings.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 369
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 371,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "I001",
|
|
"end_location": {
|
|
"column": 41,
|
|
"row": 239
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_script_chunking.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": " from calliope.config import settings\n from calliope.db import get_db\n",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 240
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 238
|
|
}
|
|
}
|
|
],
|
|
"message": "Organize imports"
|
|
},
|
|
"location": {
|
|
"column": 5,
|
|
"row": 238
|
|
},
|
|
"message": "Import block is un-sorted or un-formatted",
|
|
"name": "unsorted-imports",
|
|
"noqa_row": 238,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 244
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_script_chunking.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 244
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 244,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 114,
|
|
"row": 54
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_script_scene_count.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 54
|
|
},
|
|
"message": "Line too long (113 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 54,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "I001",
|
|
"end_location": {
|
|
"column": 2,
|
|
"row": 17
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_session_origin.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "from __future__ import annotations\n\nimport asyncio\nimport tempfile\nfrom pathlib import Path\n\nimport pytest\n\nfrom calliope.agent.harness.registry import (\n GUARD_SCENE_TOOL_SCOPE,\n ToolContext,\n)\nfrom calliope.config import settings\nfrom calliope.db import get_db, migrate_db\n\n\n",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 20
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 4
|
|
}
|
|
}
|
|
],
|
|
"message": "Organize imports"
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 4
|
|
},
|
|
"message": "Import block is un-sorted or un-formatted",
|
|
"name": "unsorted-imports",
|
|
"noqa_row": 4,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 104,
|
|
"row": 35
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_session_origin.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 35
|
|
},
|
|
"message": "Line too long (103 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 35,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 104,
|
|
"row": 173
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_session_origin.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 173
|
|
},
|
|
"message": "Line too long (103 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 173,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "I001",
|
|
"end_location": {
|
|
"column": 41,
|
|
"row": 76
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_shell_tool.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": " from calliope.config import settings\n from calliope.db import get_db\n",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 77
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 75
|
|
}
|
|
}
|
|
],
|
|
"message": "Organize imports"
|
|
},
|
|
"location": {
|
|
"column": 5,
|
|
"row": 75
|
|
},
|
|
"message": "Import block is un-sorted or un-formatted",
|
|
"name": "unsorted-imports",
|
|
"noqa_row": 75,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 110,
|
|
"row": 99
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_shell_tool.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 99
|
|
},
|
|
"message": "Line too long (109 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 99,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 134,
|
|
"row": 377
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_shell_tool.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 377
|
|
},
|
|
"message": "Line too long (133 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 377,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "I001",
|
|
"end_location": {
|
|
"column": 60,
|
|
"row": 22
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_shot_tools.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "from __future__ import annotations\n\nimport asyncio\nimport base64\nimport json\nimport shutil\nimport tempfile\nfrom pathlib import Path\n\nimport pytest\n\nfrom calliope.agent.harness.orchestrator import orchestrate\nfrom calliope.agent.harness.registry import ToolContext\nfrom calliope.agent.harness.tools import execute_tool, openai_tools_payload\nfrom calliope.config import settings\nfrom calliope.db import get_db, migrate_db\n\n\n",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 25
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 7
|
|
}
|
|
}
|
|
],
|
|
"message": "Organize imports"
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 7
|
|
},
|
|
"message": "Import block is un-sorted or un-formatted",
|
|
"name": "unsorted-imports",
|
|
"noqa_row": 7,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "F401",
|
|
"end_location": {
|
|
"column": 54,
|
|
"row": 21
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_shot_tools.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "from calliope.agent.harness.tools import openai_tools_payload",
|
|
"end_location": {
|
|
"column": 76,
|
|
"row": 21
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 21
|
|
}
|
|
}
|
|
],
|
|
"message": "Remove unused import: `calliope.agent.harness.tools.execute_tool`"
|
|
},
|
|
"location": {
|
|
"column": 42,
|
|
"row": 21
|
|
},
|
|
"message": "`calliope.agent.harness.tools.execute_tool` imported but unused",
|
|
"name": "unused-import",
|
|
"noqa_row": 21,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unused-import"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "F841",
|
|
"end_location": {
|
|
"column": 9,
|
|
"row": 27
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_shot_tools.py",
|
|
"fix": {
|
|
"applicability": "unsafe",
|
|
"edits": [
|
|
{
|
|
"content": "",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 28
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 27
|
|
}
|
|
}
|
|
],
|
|
"message": "Remove assignment to unused variable `prev`"
|
|
},
|
|
"location": {
|
|
"column": 5,
|
|
"row": 27
|
|
},
|
|
"message": "Local variable `prev` is assigned to but never used",
|
|
"name": "unused-variable",
|
|
"noqa_row": 27,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unused-variable"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "I001",
|
|
"end_location": {
|
|
"column": 96,
|
|
"row": 519
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_shot_tools.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": " from calliope.agent.harness.plugins.shot_builder import POSTURE_ENTRY_LENGTHS, _apply_joint\n",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 520
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 519
|
|
}
|
|
}
|
|
],
|
|
"message": "Organize imports"
|
|
},
|
|
"location": {
|
|
"column": 5,
|
|
"row": 519
|
|
},
|
|
"message": "Import block is un-sorted or un-formatted",
|
|
"name": "unsorted-imports",
|
|
"noqa_row": 519,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "F401",
|
|
"end_location": {
|
|
"column": 12,
|
|
"row": 17
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_steering.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 18
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 17
|
|
}
|
|
}
|
|
],
|
|
"message": "Remove unused import: `json`"
|
|
},
|
|
"location": {
|
|
"column": 8,
|
|
"row": 17
|
|
},
|
|
"message": "`json` imported but unused",
|
|
"name": "unused-import",
|
|
"noqa_row": 17,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unused-import"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 123,
|
|
"row": 101
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_steering.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 101
|
|
},
|
|
"message": "Line too long (122 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 101,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "F841",
|
|
"end_location": {
|
|
"column": 10,
|
|
"row": 109
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_steering.py",
|
|
"fix": {
|
|
"applicability": "unsafe",
|
|
"edits": [
|
|
{
|
|
"content": "",
|
|
"end_location": {
|
|
"column": 13,
|
|
"row": 109
|
|
},
|
|
"location": {
|
|
"column": 5,
|
|
"row": 109
|
|
}
|
|
}
|
|
],
|
|
"message": "Remove assignment to unused variable `roles`"
|
|
},
|
|
"location": {
|
|
"column": 5,
|
|
"row": 109
|
|
},
|
|
"message": "Local variable `roles` is assigned to but never used",
|
|
"name": "unused-variable",
|
|
"noqa_row": 109,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unused-variable"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 104,
|
|
"row": 135
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_steering.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 135
|
|
},
|
|
"message": "Line too long (103 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 135,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 104,
|
|
"row": 147
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_steering.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 147
|
|
},
|
|
"message": "Line too long (103 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 147,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 105,
|
|
"row": 344
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_steering.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 344
|
|
},
|
|
"message": "Line too long (104 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 344,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "I001",
|
|
"end_location": {
|
|
"column": 31,
|
|
"row": 17
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_sub_agent_guards.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "from __future__ import annotations\n\nimport asyncio\nimport tempfile\nfrom pathlib import Path\n\nimport pytest\n\nfrom calliope.agent.harness.registry import ToolContext\nfrom calliope.config import settings\nfrom calliope.db import get_db\n\n\n",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 19
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 7
|
|
}
|
|
}
|
|
],
|
|
"message": "Organize imports"
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 7
|
|
},
|
|
"message": "Import block is un-sorted or un-formatted",
|
|
"name": "unsorted-imports",
|
|
"noqa_row": 7,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 106
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_sub_agent_guards.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 106
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 106,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 102,
|
|
"row": 147
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_sub_agent_guards.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 147
|
|
},
|
|
"message": "Line too long (101 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 147,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 118,
|
|
"row": 167
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_sub_agent_guards.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 167
|
|
},
|
|
"message": "Line too long (117 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 167,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 111,
|
|
"row": 211
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_sub_agent_guards.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 211
|
|
},
|
|
"message": "Line too long (110 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 211,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 107,
|
|
"row": 275
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_sub_agent_guards.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 275
|
|
},
|
|
"message": "Line too long (106 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 275,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 107,
|
|
"row": 288
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_sub_agent_guards.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 288
|
|
},
|
|
"message": "Line too long (106 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 288,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 347
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_sub_agent_guards.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 347
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 347,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "F841",
|
|
"end_location": {
|
|
"column": 9,
|
|
"row": 432
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_video_continue.py",
|
|
"fix": {
|
|
"applicability": "unsafe",
|
|
"edits": [
|
|
{
|
|
"content": "",
|
|
"end_location": {
|
|
"column": 12,
|
|
"row": 432
|
|
},
|
|
"location": {
|
|
"column": 5,
|
|
"row": 432
|
|
}
|
|
}
|
|
],
|
|
"message": "Remove assignment to unused variable `jobs`"
|
|
},
|
|
"location": {
|
|
"column": 5,
|
|
"row": 432
|
|
},
|
|
"message": "Local variable `jobs` is assigned to but never used",
|
|
"name": "unused-variable",
|
|
"noqa_row": 432,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unused-variable"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "I001",
|
|
"end_location": {
|
|
"column": 2,
|
|
"row": 18
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_video_vision.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "from __future__ import annotations\n\nimport shutil\nimport subprocess\n\nimport pytest\n\nfrom calliope.agent.harness.log import (\n _MAX_VIDEO_FRAMES,\n _video_attachment_frames,\n project_user_content,\n)\nfrom calliope.config import settings\n\n",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 20
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 6
|
|
}
|
|
}
|
|
],
|
|
"message": "Organize imports"
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 6
|
|
},
|
|
"message": "Import block is un-sorted or un-formatted",
|
|
"name": "unsorted-imports",
|
|
"noqa_row": 6,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 123,
|
|
"row": 41
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_video_vision.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 41
|
|
},
|
|
"message": "Line too long (122 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 41,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "F401",
|
|
"end_location": {
|
|
"column": 37,
|
|
"row": 14
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_workbench.py",
|
|
"fix": {
|
|
"applicability": "safe",
|
|
"edits": [
|
|
{
|
|
"content": "",
|
|
"end_location": {
|
|
"column": 1,
|
|
"row": 15
|
|
},
|
|
"location": {
|
|
"column": 1,
|
|
"row": 14
|
|
}
|
|
}
|
|
],
|
|
"message": "Remove unused import: `calliope.config.settings`"
|
|
},
|
|
"location": {
|
|
"column": 29,
|
|
"row": 14
|
|
},
|
|
"message": "`calliope.config.settings` imported but unused",
|
|
"name": "unused-import",
|
|
"noqa_row": 14,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unused-import"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 180
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_workbench.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 180
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 180,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "E501",
|
|
"end_location": {
|
|
"column": 103,
|
|
"row": 331
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_workbench.py",
|
|
"fix": null,
|
|
"location": {
|
|
"column": 101,
|
|
"row": 331
|
|
},
|
|
"message": "Line too long (102 > 100)",
|
|
"name": "line-too-long",
|
|
"noqa_row": 331,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/line-too-long"
|
|
},
|
|
{
|
|
"cell": null,
|
|
"code": "F841",
|
|
"end_location": {
|
|
"column": 10,
|
|
"row": 408
|
|
},
|
|
"filename": "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-b314727c5295/workdir/aigc-home/calliope-backend/tests/test_workbench.py",
|
|
"fix": {
|
|
"applicability": "unsafe",
|
|
"edits": [
|
|
{
|
|
"content": "",
|
|
"end_location": {
|
|
"column": 13,
|
|
"row": 408
|
|
},
|
|
"location": {
|
|
"column": 5,
|
|
"row": 408
|
|
}
|
|
}
|
|
],
|
|
"message": "Remove assignment to unused variable `wf_id`"
|
|
},
|
|
"location": {
|
|
"column": 5,
|
|
"row": 408
|
|
},
|
|
"message": "Local variable `wf_id` is assigned to but never used",
|
|
"name": "unused-variable",
|
|
"noqa_row": 408,
|
|
"severity": "error",
|
|
"url": "https://docs.astral.sh/ruff/rules/unused-variable"
|
|
}
|
|
] |