text: Title: Update ruff to 0.9.3
  Body: ### Summary
  
  Looking for a volunteer to update ruff to the latest version (0.9.3)
  
  Files/lines to change:
  
  ```diff
  diff --git a/pyproject.toml b/pyproject.toml
  index ef3e198ff..3cffdb713 100644
  --- a/pyproject.toml
  +++ b/pyproject.toml
  @@ -158,7 +158,7 @@ exclude = ["tests", "tests.*"]
   [tool.ruff]
   line-length = 100
   target-version = "py39"
  -required-version = "0.7.4"
  +required-version = "0.9.3"
   force-exclude = true
   extend-include = ["*.ipynb"]
   extend-exclude = [
  diff --git a/requirements/lint-requirements.txt b/requirements/lint-requirements.txt
  index bf647a510..9ce3d25b3 100644
  --- a/requirements/lint-requirements.txt
  +++ b/requirements/lint-requirements.txt
  @@ -1,4 +1,4 @@
  -ruff==0.7.4
  +ruff==0.9.3
   black[jupyter]==23.7.0
   blacken-docs==1.18.0
   pre-commit==4.0.1
  ```
  
  ### Notes
  
  - Make sure to open a PR from a **non-master** branch.
  - Sign off the commit using the `-s` flag when making a commit:
  
    ```sh
    git commit -s -m "..."
             # ^^ make sure to use this
    ```
  
  - Include `#{issue_number}` (e.g. `#123`) in the PR description when opening a PR.
  