diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8436ef76deff..7375ca147277 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,12 +58,15 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.2.0 hooks: + - id: ruff + name: "Run ruff import sorter" + args: ["--select=I", "--fix"] + - id: ruff name: "Run ruff linter" - id: ruff-format - name: "Format Python code" - + name: "Run ruff formatter" ci: autoupdate_schedule: weekly