Files
geointel/artifacts/evidence/accuracy/P1/repository-ruff-baseline.json
T

2227 lines
58 KiB
JSON

[
{
"cell": null,
"code": "F403",
"end_location": {
"column": 25,
"row": 1
},
"filename": "C:\\Projects\\geointel\\backend\\app\\models.py",
"fix": null,
"location": {
"column": 1,
"row": 1
},
"message": "`from app.models import *` used; unable to detect undefined names",
"noqa_row": 1,
"url": "https://docs.astral.sh/ruff/rules/undefined-local-with-import-star"
},
{
"cell": null,
"code": "F401",
"end_location": {
"column": 27,
"row": 101
},
"filename": "C:\\Projects\\geointel\\backend\\app\\schemas\\__init__.py",
"fix": null,
"location": {
"column": 5,
"row": 101
},
"message": "`.bathymetry.BathymetryRasterMetric` imported but unused; consider removing, adding to `__all__`, or using a redundant alias",
"noqa_row": 101,
"url": "https://docs.astral.sh/ruff/rules/unused-import"
},
{
"cell": null,
"code": "F401",
"end_location": {
"column": 37,
"row": 102
},
"filename": "C:\\Projects\\geointel\\backend\\app\\schemas\\__init__.py",
"fix": null,
"location": {
"column": 5,
"row": 102
},
"message": "`.bathymetry.BathymetryRasterSelectionRequest` imported but unused; consider removing, adding to `__all__`, or using a redundant alias",
"noqa_row": 102,
"url": "https://docs.astral.sh/ruff/rules/unused-import"
},
{
"cell": null,
"code": "F401",
"end_location": {
"column": 38,
"row": 103
},
"filename": "C:\\Projects\\geointel\\backend\\app\\schemas\\__init__.py",
"fix": null,
"location": {
"column": 5,
"row": 103
},
"message": "`.bathymetry.BathymetryRasterSelectionResponse` imported but unused; consider removing, adding to `__all__`, or using a redundant alias",
"noqa_row": 103,
"url": "https://docs.astral.sh/ruff/rules/unused-import"
},
{
"cell": null,
"code": "F401",
"end_location": {
"column": 37,
"row": 104
},
"filename": "C:\\Projects\\geointel\\backend\\app\\schemas\\__init__.py",
"fix": null,
"location": {
"column": 5,
"row": 104
},
"message": "`.bathymetry.BathymetryRasterSelectionSummary` imported but unused; consider removing, adding to `__all__`, or using a redundant alias",
"noqa_row": 104,
"url": "https://docs.astral.sh/ruff/rules/unused-import"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 27,
"row": 56
},
"filename": "C:\\Projects\\geointel\\backend\\app\\services\\aoi_operation_executor.py",
"fix": null,
"location": {
"column": 26,
"row": 56
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 56,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 38,
"row": 210
},
"filename": "C:\\Projects\\geointel\\backend\\app\\services\\aoi_operation_service.py",
"fix": null,
"location": {
"column": 37,
"row": 210
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 210,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 66,
"row": 210
},
"filename": "C:\\Projects\\geointel\\backend\\app\\services\\aoi_operation_service.py",
"fix": null,
"location": {
"column": 65,
"row": 210
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 210,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 96,
"row": 210
},
"filename": "C:\\Projects\\geointel\\backend\\app\\services\\aoi_operation_service.py",
"fix": null,
"location": {
"column": 95,
"row": 210
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 210,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 38,
"row": 211
},
"filename": "C:\\Projects\\geointel\\backend\\app\\services\\aoi_operation_service.py",
"fix": null,
"location": {
"column": 37,
"row": 211
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 211,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 27,
"row": 212
},
"filename": "C:\\Projects\\geointel\\backend\\app\\services\\aoi_operation_service.py",
"fix": null,
"location": {
"column": 26,
"row": 212
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 212,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 46,
"row": 212
},
"filename": "C:\\Projects\\geointel\\backend\\app\\services\\aoi_operation_service.py",
"fix": null,
"location": {
"column": 45,
"row": 212
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 212,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 59,
"row": 212
},
"filename": "C:\\Projects\\geointel\\backend\\app\\services\\aoi_operation_service.py",
"fix": null,
"location": {
"column": 58,
"row": 212
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 212,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 48,
"row": 220
},
"filename": "C:\\Projects\\geointel\\backend\\app\\services\\aoi_operation_service.py",
"fix": null,
"location": {
"column": 47,
"row": 220
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 220,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 67,
"row": 220
},
"filename": "C:\\Projects\\geointel\\backend\\app\\services\\aoi_operation_service.py",
"fix": null,
"location": {
"column": 66,
"row": 220
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 220,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 80,
"row": 220
},
"filename": "C:\\Projects\\geointel\\backend\\app\\services\\aoi_operation_service.py",
"fix": null,
"location": {
"column": 79,
"row": 220
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 220,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 64,
"row": 230
},
"filename": "C:\\Projects\\geointel\\backend\\app\\services\\aoi_operation_service.py",
"fix": null,
"location": {
"column": 63,
"row": 230
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 230,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 96,
"row": 230
},
"filename": "C:\\Projects\\geointel\\backend\\app\\services\\aoi_operation_service.py",
"fix": null,
"location": {
"column": 95,
"row": 230
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 230,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 27,
"row": 231
},
"filename": "C:\\Projects\\geointel\\backend\\app\\services\\aoi_operation_service.py",
"fix": null,
"location": {
"column": 26,
"row": 231
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 231,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 40,
"row": 231
},
"filename": "C:\\Projects\\geointel\\backend\\app\\services\\aoi_operation_service.py",
"fix": null,
"location": {
"column": 39,
"row": 231
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 231,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 43,
"row": 237
},
"filename": "C:\\Projects\\geointel\\backend\\app\\services\\aoi_operation_service.py",
"fix": null,
"location": {
"column": 42,
"row": 237
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 237,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 27,
"row": 240
},
"filename": "C:\\Projects\\geointel\\backend\\app\\services\\aoi_operation_service.py",
"fix": null,
"location": {
"column": 26,
"row": 240
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 240,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 40,
"row": 240
},
"filename": "C:\\Projects\\geointel\\backend\\app\\services\\aoi_operation_service.py",
"fix": null,
"location": {
"column": 39,
"row": 240
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 240,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 56,
"row": 245
},
"filename": "C:\\Projects\\geointel\\backend\\app\\services\\aoi_operation_service.py",
"fix": null,
"location": {
"column": 55,
"row": 245
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 245,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 42,
"row": 272
},
"filename": "C:\\Projects\\geointel\\backend\\app\\services\\aoi_operation_service.py",
"fix": null,
"location": {
"column": 41,
"row": 272
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 272,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 71,
"row": 272
},
"filename": "C:\\Projects\\geointel\\backend\\app\\services\\aoi_operation_service.py",
"fix": null,
"location": {
"column": 70,
"row": 272
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 272,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 120,
"row": 274
},
"filename": "C:\\Projects\\geointel\\backend\\app\\services\\aoi_operation_service.py",
"fix": null,
"location": {
"column": 119,
"row": 274
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 274,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 27,
"row": 276
},
"filename": "C:\\Projects\\geointel\\backend\\app\\services\\aoi_operation_service.py",
"fix": null,
"location": {
"column": 26,
"row": 276
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 276,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "F841",
"end_location": {
"column": 17,
"row": 253
},
"filename": "C:\\Projects\\geointel\\backend\\app\\services\\demo_workflow_service.py",
"fix": {
"applicability": "unsafe",
"edits": [
{
"content": "",
"end_location": {
"column": 20,
"row": 253
},
"location": {
"column": 9,
"row": 253
}
}
],
"message": "Remove assignment to unused variable `rasterio`"
},
"location": {
"column": 9,
"row": 253
},
"message": "Local variable `rasterio` is assigned to but never used",
"noqa_row": 253,
"url": "https://docs.astral.sh/ruff/rules/unused-variable"
},
{
"cell": null,
"code": "F401",
"end_location": {
"column": 23,
"row": 4
},
"filename": "C:\\Projects\\geointel\\backend\\app\\services\\detection_review_service.py",
"fix": {
"applicability": "safe",
"edits": [
{
"content": "",
"end_location": {
"column": 1,
"row": 5
},
"location": {
"column": 1,
"row": 4
}
}
],
"message": "Remove unused import: `typing.Any`"
},
"location": {
"column": 20,
"row": 4
},
"message": "`typing.Any` imported but unused",
"noqa_row": 4,
"url": "https://docs.astral.sh/ruff/rules/unused-import"
},
{
"cell": null,
"code": "F401",
"end_location": {
"column": 35,
"row": 14
},
"filename": "C:\\Projects\\geointel\\backend\\app\\services\\qa_service.py",
"fix": {
"applicability": "safe",
"edits": [
{
"content": "",
"end_location": {
"column": 1,
"row": 15
},
"location": {
"column": 1,
"row": 14
}
}
],
"message": "Remove unused import: `shapely.geometry.shape`"
},
"location": {
"column": 30,
"row": 14
},
"message": "`shapely.geometry.shape` imported but unused",
"noqa_row": 14,
"url": "https://docs.astral.sh/ruff/rules/unused-import"
},
{
"cell": null,
"code": "F401",
"end_location": {
"column": 28,
"row": 409
},
"filename": "C:\\Projects\\geointel\\backend\\app\\services\\thematic_raster_acquisition_service.py",
"fix": null,
"location": {
"column": 20,
"row": 409
},
"message": "`rasterio` imported but unused; consider using `importlib.util.find_spec` to test for availability",
"noqa_row": 409,
"url": "https://docs.astral.sh/ruff/rules/unused-import"
},
{
"cell": null,
"code": "E402",
"end_location": {
"column": 41,
"row": 17
},
"filename": "C:\\Projects\\geointel\\backend\\scripts\\cleanup_demo_artifacts.py",
"fix": null,
"location": {
"column": 1,
"row": 17
},
"message": "Module level import not at top of file",
"noqa_row": 17,
"url": "https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file"
},
{
"cell": null,
"code": "E402",
"end_location": {
"column": 40,
"row": 18
},
"filename": "C:\\Projects\\geointel\\backend\\scripts\\cleanup_demo_artifacts.py",
"fix": null,
"location": {
"column": 1,
"row": 18
},
"message": "Module level import not at top of file",
"noqa_row": 18,
"url": "https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file"
},
{
"cell": null,
"code": "E402",
"end_location": {
"column": 39,
"row": 19
},
"filename": "C:\\Projects\\geointel\\backend\\scripts\\cleanup_demo_artifacts.py",
"fix": null,
"location": {
"column": 1,
"row": 19
},
"message": "Module level import not at top of file",
"noqa_row": 19,
"url": "https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file"
},
{
"cell": null,
"code": "E402",
"end_location": {
"column": 77,
"row": 20
},
"filename": "C:\\Projects\\geointel\\backend\\scripts\\cleanup_demo_artifacts.py",
"fix": null,
"location": {
"column": 1,
"row": 20
},
"message": "Module level import not at top of file",
"noqa_row": 20,
"url": "https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file"
},
{
"cell": null,
"code": "F841",
"end_location": {
"column": 11,
"row": 189
},
"filename": "C:\\Projects\\geointel\\backend\\tests\\test_auth.py",
"fix": {
"applicability": "unsafe",
"edits": [
{
"content": "",
"end_location": {
"column": 14,
"row": 189
},
"location": {
"column": 5,
"row": 189
}
}
],
"message": "Remove assignment to unused variable `client`"
},
"location": {
"column": 5,
"row": 189
},
"message": "Local variable `client` is assigned to but never used",
"noqa_row": 189,
"url": "https://docs.astral.sh/ruff/rules/unused-variable"
},
{
"cell": null,
"code": "F401",
"end_location": {
"column": 34,
"row": 5
},
"filename": "C:\\Projects\\geointel\\backend\\tests\\test_qa_service.py",
"fix": {
"applicability": "safe",
"edits": [
{
"content": "",
"end_location": {
"column": 1,
"row": 6
},
"location": {
"column": 1,
"row": 5
}
}
],
"message": "Remove unused import: `types.SimpleNamespace`"
},
"location": {
"column": 19,
"row": 5
},
"message": "`types.SimpleNamespace` imported but unused",
"noqa_row": 5,
"url": "https://docs.astral.sh/ruff/rules/unused-import"
},
{
"cell": null,
"code": "F401",
"end_location": {
"column": 28,
"row": 8
},
"filename": "C:\\Projects\\geointel\\backend\\tests\\test_qa_service.py",
"fix": {
"applicability": "safe",
"edits": [
{
"content": "from app.models import Dataset",
"end_location": {
"column": 37,
"row": 8
},
"location": {
"column": 1,
"row": 8
}
}
],
"message": "Remove unused import: `app.models.Area`"
},
"location": {
"column": 24,
"row": 8
},
"message": "`app.models.Area` imported but unused",
"noqa_row": 8,
"url": "https://docs.astral.sh/ruff/rules/unused-import"
},
{
"cell": null,
"code": "F401",
"end_location": {
"column": 29,
"row": 3
},
"filename": "C:\\Projects\\geointel\\backend\\tests\\test_raster_operations_service.py",
"fix": {
"applicability": "safe",
"edits": [
{
"content": "from types import SimpleNamespace",
"end_location": {
"column": 46,
"row": 3
},
"location": {
"column": 1,
"row": 3
}
}
],
"message": "Remove unused import: `types.ModuleType`"
},
"location": {
"column": 19,
"row": 3
},
"message": "`types.ModuleType` imported but unused",
"noqa_row": 3,
"url": "https://docs.astral.sh/ruff/rules/unused-import"
},
{
"cell": null,
"code": "F401",
"end_location": {
"column": 46,
"row": 10
},
"filename": "C:\\Projects\\geointel\\backend\\tests\\test_sprint108_map_selection_derived_dataset.py",
"fix": {
"applicability": "safe",
"edits": [
{
"content": "from app.models import Dataset",
"end_location": {
"column": 46,
"row": 10
},
"location": {
"column": 1,
"row": 10
}
}
],
"message": "Remove unused import: `app.models.VectorFeature`"
},
"location": {
"column": 33,
"row": 10
},
"message": "`app.models.VectorFeature` imported but unused",
"noqa_row": 10,
"url": "https://docs.astral.sh/ruff/rules/unused-import"
},
{
"cell": null,
"code": "F401",
"end_location": {
"column": 12,
"row": 4
},
"filename": "C:\\Projects\\geointel\\backend\\tests\\test_sprint205_agricultural_parcel_history.py",
"fix": {
"applicability": "safe",
"edits": [
{
"content": "",
"end_location": {
"column": 1,
"row": 5
},
"location": {
"column": 1,
"row": 4
}
}
],
"message": "Remove unused import: `json`"
},
"location": {
"column": 8,
"row": 4
},
"message": "`json` imported but unused",
"noqa_row": 4,
"url": "https://docs.astral.sh/ruff/rules/unused-import"
},
{
"cell": null,
"code": "F811",
"end_location": {
"column": 13,
"row": 79
},
"filename": "C:\\Projects\\geointel\\backend\\tests\\test_sprint205_agricultural_parcel_history.py",
"fix": null,
"location": {
"column": 9,
"row": 79
},
"message": "Redefinition of unused `json` from line 4",
"noqa_row": 79,
"url": "https://docs.astral.sh/ruff/rules/redefined-while-unused"
},
{
"cell": null,
"code": "F401",
"end_location": {
"column": 16,
"row": 10
},
"filename": "C:\\Projects\\geointel\\backend\\tests\\test_sprint213_thematic_rasters.py",
"fix": {
"applicability": "safe",
"edits": [
{
"content": "",
"end_location": {
"column": 1,
"row": 11
},
"location": {
"column": 1,
"row": 10
}
}
],
"message": "Remove unused import: `rasterio`"
},
"location": {
"column": 8,
"row": 10
},
"message": "`rasterio` imported but unused",
"noqa_row": 10,
"url": "https://docs.astral.sh/ruff/rules/unused-import"
},
{
"cell": null,
"code": "F401",
"end_location": {
"column": 34,
"row": 5
},
"filename": "C:\\Projects\\geointel\\backend\\tests\\test_sprint233_operational_completion.py",
"fix": {
"applicability": "safe",
"edits": [
{
"content": "",
"end_location": {
"column": 1,
"row": 6
},
"location": {
"column": 1,
"row": 5
}
}
],
"message": "Remove unused import: `types.SimpleNamespace`"
},
"location": {
"column": 19,
"row": 5
},
"message": "`types.SimpleNamespace` imported but unused",
"noqa_row": 5,
"url": "https://docs.astral.sh/ruff/rules/unused-import"
},
{
"cell": null,
"code": "F401",
"end_location": {
"column": 12,
"row": 4
},
"filename": "C:\\Projects\\geointel\\backend\\tests\\test_sprint236_bathymetry_expansion.py",
"fix": {
"applicability": "safe",
"edits": [
{
"content": "",
"end_location": {
"column": 1,
"row": 5
},
"location": {
"column": 1,
"row": 4
}
}
],
"message": "Remove unused import: `json`"
},
"location": {
"column": 8,
"row": 4
},
"message": "`json` imported but unused",
"noqa_row": 4,
"url": "https://docs.astral.sh/ruff/rules/unused-import"
},
{
"cell": null,
"code": "F811",
"end_location": {
"column": 13,
"row": 59
},
"filename": "C:\\Projects\\geointel\\backend\\tests\\test_sprint236_bathymetry_expansion.py",
"fix": null,
"location": {
"column": 9,
"row": 59
},
"message": "Redefinition of unused `json` from line 4",
"noqa_row": 59,
"url": "https://docs.astral.sh/ruff/rules/redefined-while-unused"
},
{
"cell": null,
"code": "F401",
"end_location": {
"column": 10,
"row": 4
},
"filename": "C:\\Projects\\geointel\\backend\\tests\\test_sprint241_spw_bathymetry_raster.py",
"fix": {
"applicability": "safe",
"edits": [
{
"content": "",
"end_location": {
"column": 1,
"row": 5
},
"location": {
"column": 1,
"row": 4
}
}
],
"message": "Remove unused import: `io`"
},
"location": {
"column": 8,
"row": 4
},
"message": "`io` imported but unused",
"noqa_row": 4,
"url": "https://docs.astral.sh/ruff/rules/unused-import"
},
{
"cell": null,
"code": "F401",
"end_location": {
"column": 34,
"row": 4
},
"filename": "C:\\Projects\\geointel\\backend\\tests\\test_vector_operations_service.py",
"fix": {
"applicability": "safe",
"edits": [
{
"content": "",
"end_location": {
"column": 1,
"row": 5
},
"location": {
"column": 1,
"row": 4
}
}
],
"message": "Remove unused import: `types.SimpleNamespace`"
},
"location": {
"column": 19,
"row": 4
},
"message": "`types.SimpleNamespace` imported but unused",
"noqa_row": 4,
"url": "https://docs.astral.sh/ruff/rules/unused-import"
},
{
"cell": null,
"code": "E402",
"end_location": {
"column": 40,
"row": 20
},
"filename": "C:\\Projects\\geointel\\scripts\\archive_technical_projects.py",
"fix": null,
"location": {
"column": 1,
"row": 20
},
"message": "Module level import not at top of file",
"noqa_row": 20,
"url": "https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file"
},
{
"cell": null,
"code": "E402",
"end_location": {
"column": 31,
"row": 21
},
"filename": "C:\\Projects\\geointel\\scripts\\archive_technical_projects.py",
"fix": null,
"location": {
"column": 1,
"row": 21
},
"message": "Module level import not at top of file",
"noqa_row": 21,
"url": "https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file"
},
{
"cell": null,
"code": "E402",
"end_location": {
"column": 41,
"row": 23
},
"filename": "C:\\Projects\\geointel\\scripts\\audit_data_operations.py",
"fix": null,
"location": {
"column": 1,
"row": 23
},
"message": "Module level import not at top of file",
"noqa_row": 23,
"url": "https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file"
},
{
"cell": null,
"code": "E402",
"end_location": {
"column": 40,
"row": 24
},
"filename": "C:\\Projects\\geointel\\scripts\\audit_data_operations.py",
"fix": null,
"location": {
"column": 1,
"row": 24
},
"message": "Module level import not at top of file",
"noqa_row": 24,
"url": "https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file"
},
{
"cell": null,
"code": "E402",
"end_location": {
"column": 28,
"row": 25
},
"filename": "C:\\Projects\\geointel\\scripts\\audit_data_operations.py",
"fix": null,
"location": {
"column": 1,
"row": 25
},
"message": "Module level import not at top of file",
"noqa_row": 25,
"url": "https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file"
},
{
"cell": null,
"code": "E402",
"end_location": {
"column": 107,
"row": 27
},
"filename": "C:\\Projects\\geointel\\scripts\\audit_data_operations.py",
"fix": null,
"location": {
"column": 1,
"row": 27
},
"message": "Module level import not at top of file",
"noqa_row": 27,
"url": "https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file"
},
{
"cell": null,
"code": "E402",
"end_location": {
"column": 69,
"row": 20
},
"filename": "C:\\Projects\\geointel\\scripts\\build_building_proposal_classifier_dataset.py",
"fix": null,
"location": {
"column": 1,
"row": 20
},
"message": "Module level import not at top of file",
"noqa_row": 20,
"url": "https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 27,
"row": 127
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 26,
"row": 127
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 127,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 30,
"row": 137
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 29,
"row": 137
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 137,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 30,
"row": 138
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 29,
"row": 138
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 138,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 55,
"row": 138
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 54,
"row": 138
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 138,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 29,
"row": 139
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 28,
"row": 139
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 139,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 55,
"row": 139
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 54,
"row": 139
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 139,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 41,
"row": 146
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 40,
"row": 146
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 146,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 25,
"row": 157
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 24,
"row": 157
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 157,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 26,
"row": 158
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 25,
"row": 158
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 158,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 51,
"row": 158
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 50,
"row": 158
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 158,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 27,
"row": 159
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 26,
"row": 159
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 159,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 53,
"row": 159
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 52,
"row": 159
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 159,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 41,
"row": 160
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 40,
"row": 160
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 160,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 61,
"row": 160
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 60,
"row": 160
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 160,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 43,
"row": 169
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 42,
"row": 169
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 169,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 62,
"row": 169
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 61,
"row": 169
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 169,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 45,
"row": 172
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 44,
"row": 172
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 172,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 30,
"row": 173
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 29,
"row": 173
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 173,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 55,
"row": 173
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 54,
"row": 173
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 173,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 31,
"row": 174
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 30,
"row": 174
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 174,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 57,
"row": 174
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 56,
"row": 174
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 174,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 45,
"row": 175
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 44,
"row": 175
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 175,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 67,
"row": 175
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 66,
"row": 175
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 175,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 50,
"row": 176
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 49,
"row": 176
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 176,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 27,
"row": 182
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 26,
"row": 182
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 182,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 80,
"row": 193
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 79,
"row": 193
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 193,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 61,
"row": 194
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 60,
"row": 194
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 194,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 86,
"row": 194
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 85,
"row": 194
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 194,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 77,
"row": 195
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 76,
"row": 195
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 195,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 99,
"row": 195
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 98,
"row": 195
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 195,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 28,
"row": 196
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 27,
"row": 196
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 196,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 29,
"row": 199
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 28,
"row": 199
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 199,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 41,
"row": 206
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 40,
"row": 206
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 206,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 26,
"row": 207
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 25,
"row": 207
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 207,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 51,
"row": 207
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 50,
"row": 207
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 207,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 27,
"row": 208
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 26,
"row": 208
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 208,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 53,
"row": 208
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 52,
"row": 208
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 208,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 41,
"row": 209
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 40,
"row": 209
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 209,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 62,
"row": 209
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 61,
"row": 209
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 209,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 45,
"row": 219
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 44,
"row": 219
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 219,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 30,
"row": 220
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 29,
"row": 220
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 220,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 56,
"row": 220
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 55,
"row": 220
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 220,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 27,
"row": 222
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 26,
"row": 222
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 222,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 53,
"row": 222
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 52,
"row": 222
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 222,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 41,
"row": 223
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 40,
"row": 223
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 223,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "E702",
"end_location": {
"column": 61,
"row": 223
},
"filename": "C:\\Projects\\geointel\\scripts\\create_portfolio_case_study.py",
"fix": null,
"location": {
"column": 60,
"row": 223
},
"message": "Multiple statements on one line (semicolon)",
"noqa_row": 223,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-semicolon"
},
{
"cell": null,
"code": "F401",
"end_location": {
"column": 18,
"row": 46
},
"filename": "C:\\Projects\\geointel\\scripts\\provision_regional_grb_context.py",
"fix": {
"applicability": "safe",
"edits": [
{
"content": "from provision_regional_grb_buildings import (\n DEFAULT_API_URL,\n DEFAULT_MAX_FEATURES_PER_MEMBER,\n DEFAULT_MAX_TOTAL_FEATURES,\n DEFAULT_OUTPUT_ROOT,\n DEFAULT_PAGE_LIMIT,\n DEFAULT_SCOPE_KEY,\n GEOJSON_CRS,\n GRB_ATTRIBUTION,\n bounds_overlap,\n build_member_geometries,\n build_source_session,\n ensure_backend_path,\n list_paginated_items,\n next_page_url,\n observed_at,\n reusable_manifest,\n safe_slug,\n sha256_file,\n utc_now,\n write_json_atomic,\n)",
"end_location": {
"column": 2,
"row": 52
},
"location": {
"column": 1,
"row": 30
}
}
],
"message": "Remove unused import: `provision_regional_grb_buildings.response_data`"
},
"location": {
"column": 5,
"row": 46
},
"message": "`provision_regional_grb_buildings.response_data` imported but unused",
"noqa_row": 46,
"url": "https://docs.astral.sh/ruff/rules/unused-import"
},
{
"cell": null,
"code": "F401",
"end_location": {
"column": 35,
"row": 26
},
"filename": "C:\\Projects\\geointel\\scripts\\provision_waterinfo_station_history.py",
"fix": {
"applicability": "safe",
"edits": [
{
"content": "from shapely.geometry import shape",
"end_location": {
"column": 51,
"row": 26
},
"location": {
"column": 1,
"row": 26
}
}
],
"message": "Remove unused import"
},
"location": {
"column": 30,
"row": 26
},
"message": "`shapely.geometry.Point` imported but unused",
"noqa_row": 26,
"url": "https://docs.astral.sh/ruff/rules/unused-import"
},
{
"cell": null,
"code": "F401",
"end_location": {
"column": 44,
"row": 26
},
"filename": "C:\\Projects\\geointel\\scripts\\provision_waterinfo_station_history.py",
"fix": {
"applicability": "safe",
"edits": [
{
"content": "from shapely.geometry import shape",
"end_location": {
"column": 51,
"row": 26
},
"location": {
"column": 1,
"row": 26
}
}
],
"message": "Remove unused import"
},
"location": {
"column": 37,
"row": 26
},
"message": "`shapely.geometry.mapping` imported but unused",
"noqa_row": 26,
"url": "https://docs.astral.sh/ruff/rules/unused-import"
},
{
"cell": null,
"code": "F401",
"end_location": {
"column": 23,
"row": 14
},
"filename": "C:\\Projects\\geointel\\scripts\\refine_yolo_labels_with_sam.py",
"fix": {
"applicability": "safe",
"edits": [
{
"content": "",
"end_location": {
"column": 1,
"row": 15
},
"location": {
"column": 1,
"row": 14
}
}
],
"message": "Remove unused import: `typing.Any`"
},
"location": {
"column": 20,
"row": 14
},
"message": "`typing.Any` imported but unused",
"noqa_row": 14,
"url": "https://docs.astral.sh/ruff/rules/unused-import"
},
{
"cell": null,
"code": "F401",
"end_location": {
"column": 28,
"row": 15
},
"filename": "C:\\Projects\\geointel\\scripts\\run_golden_qa_benchmark.py",
"fix": {
"applicability": "safe",
"edits": [
{
"content": "from app.models import Dataset, Metric, QualityCheck",
"end_location": {
"column": 59,
"row": 15
},
"location": {
"column": 1,
"row": 15
}
}
],
"message": "Remove unused import: `app.models.Area`"
},
"location": {
"column": 24,
"row": 15
},
"message": "`app.models.Area` imported but unused",
"noqa_row": 15,
"url": "https://docs.astral.sh/ruff/rules/unused-import"
},
{
"cell": null,
"code": "E402",
"end_location": {
"column": 40,
"row": 11
},
"filename": "C:\\Projects\\geointel\\scripts\\seed_demo_workflow.py",
"fix": null,
"location": {
"column": 1,
"row": 11
},
"message": "Module level import not at top of file",
"noqa_row": 11,
"url": "https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file"
},
{
"cell": null,
"code": "E402",
"end_location": {
"column": 67,
"row": 12
},
"filename": "C:\\Projects\\geointel\\scripts\\seed_demo_workflow.py",
"fix": null,
"location": {
"column": 1,
"row": 12
},
"message": "Module level import not at top of file",
"noqa_row": 12,
"url": "https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file"
},
{
"cell": null,
"code": "E701",
"end_location": {
"column": 12,
"row": 4
},
"filename": "C:\\Projects\\geointel\\scripts\\smoke_contracts.py",
"fix": null,
"location": {
"column": 11,
"row": 4
},
"message": "Multiple statements on one line (colon)",
"noqa_row": 4,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-colon"
},
{
"cell": null,
"code": "E701",
"end_location": {
"column": 12,
"row": 5
},
"filename": "C:\\Projects\\geointel\\scripts\\smoke_docs.py",
"fix": null,
"location": {
"column": 11,
"row": 5
},
"message": "Multiple statements on one line (colon)",
"noqa_row": 5,
"url": "https://docs.astral.sh/ruff/rules/multiple-statements-on-one-line-colon"
},
{
"cell": null,
"code": "F401",
"end_location": {
"column": 49,
"row": 136
},
"filename": "C:\\Projects\\geointel\\scripts\\train_building_proposal_filter.py",
"fix": {
"applicability": "safe",
"edits": [
{
"content": "from torchvision import datasets",
"end_location": {
"column": 49,
"row": 136
},
"location": {
"column": 5,
"row": 136
}
}
],
"message": "Remove unused import: `torchvision.transforms`"
},
"location": {
"column": 39,
"row": 136
},
"message": "`torchvision.transforms` imported but unused",
"noqa_row": 136,
"url": "https://docs.astral.sh/ruff/rules/unused-import"
}
]