[
  {
    "cell": null,
    "code": "E501",
    "end_location": {
      "column": 99,
      "row": 1
    },
    "filename": "data/src/durations.py",
    "fix": null,
    "location": {
      "column": 89,
      "row": 1
    },
    "message": "Line too long (98 > 88)",
    "name": "line-too-long",
    "noqa_row": 1,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/line-too-long"
  },
  {
    "cell": null,
    "code": "F401",
    "end_location": {
      "column": 10,
      "row": 2
    },
    "filename": "data/src/durations.py",
    "fix": {
      "applicability": "safe",
      "edits": [
        {
          "content": "",
          "end_location": {
            "column": 1,
            "row": 3
          },
          "location": {
            "column": 1,
            "row": 2
          }
        }
      ],
      "message": "Remove unused import: `os`"
    },
    "location": {
      "column": 8,
      "row": 2
    },
    "message": "`os` imported but unused",
    "name": "unused-import",
    "noqa_row": 2,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/unused-import"
  },
  {
    "cell": null,
    "code": "F541",
    "end_location": {
      "column": 27,
      "row": 29
    },
    "filename": "data/src/durations.py",
    "fix": {
      "applicability": "safe",
      "edits": [
        {
          "content": "\"no tests\"",
          "end_location": {
            "column": 27,
            "row": 29
          },
          "location": {
            "column": 16,
            "row": 29
          }
        }
      ],
      "message": "Remove extraneous `f` prefix"
    },
    "location": {
      "column": 16,
      "row": 29
    },
    "message": "f-string without any placeholders",
    "name": "f-string-missing-placeholders",
    "noqa_row": 29,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/f-string-missing-placeholders"
  },
  {
    "cell": null,
    "code": "UP045",
    "end_location": {
      "column": 36,
      "row": 33
    },
    "filename": "data/src/durations.py",
    "fix": {
      "applicability": "safe",
      "edits": [
        {
          "content": "str | None",
          "end_location": {
            "column": 36,
            "row": 33
          },
          "location": {
            "column": 23,
            "row": 33
          }
        }
      ],
      "message": "Convert to `X | None`"
    },
    "location": {
      "column": 23,
      "row": 33
    },
    "message": "Use `X | None` for type annotations",
    "name": "non-pep604-annotation-optional",
    "noqa_row": 33,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/non-pep604-annotation-optional"
  },
  {
    "cell": null,
    "code": "B006",
    "end_location": {
      "column": 48,
      "row": 33
    },
    "filename": "data/src/durations.py",
    "fix": {
      "applicability": "unsafe",
      "edits": [
        {
          "content": "None",
          "end_location": {
            "column": 48,
            "row": 33
          },
          "location": {
            "column": 46,
            "row": 33
          }
        },
        {
          "content": "    if aliases is None:\n        aliases = {}\n",
          "end_location": {
            "column": 1,
            "row": 34
          },
          "location": {
            "column": 1,
            "row": 34
          }
        }
      ],
      "message": "Replace with `None`; initialize within function"
    },
    "location": {
      "column": 46,
      "row": 33
    },
    "message": "Do not use mutable data structures for argument defaults",
    "name": "mutable-argument-default",
    "noqa_row": 33,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/mutable-argument-default"
  },
  {
    "cell": null,
    "code": "UP045",
    "end_location": {
      "column": 66,
      "row": 33
    },
    "filename": "data/src/durations.py",
    "fix": {
      "applicability": "safe",
      "edits": [
        {
          "content": "str | None",
          "end_location": {
            "column": 66,
            "row": 33
          },
          "location": {
            "column": 53,
            "row": 33
          }
        }
      ],
      "message": "Convert to `X | None`"
    },
    "location": {
      "column": 53,
      "row": 33
    },
    "message": "Use `X | None` for type annotations",
    "name": "non-pep604-annotation-optional",
    "noqa_row": 33,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/non-pep604-annotation-optional"
  },
  {
    "cell": null,
    "code": "E711",
    "end_location": {
      "column": 20,
      "row": 34
    },
    "filename": "data/src/durations.py",
    "fix": {
      "applicability": "unsafe",
      "edits": [
        {
          "content": "word is None",
          "end_location": {
            "column": 20,
            "row": 34
          },
          "location": {
            "column": 8,
            "row": 34
          }
        }
      ],
      "message": "Replace with `cond is None`"
    },
    "location": {
      "column": 16,
      "row": 34
    },
    "message": "Comparison to `None` should be `cond is None`",
    "name": "none-comparison",
    "noqa_row": 34,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/none-comparison"
  },
  {
    "cell": null,
    "code": "E722",
    "end_location": {
      "column": 11,
      "row": 50
    },
    "filename": "data/src/durations.py",
    "fix": null,
    "location": {
      "column": 5,
      "row": 50
    },
    "message": "Do not use bare `except`",
    "name": "bare-except",
    "noqa_row": 50,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/bare-except"
  }
]
