diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bb42bfb648..8b59ae72d1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,12 +29,8 @@ repos: rev: v0.4.2 hooks: # See pyproject.toml for configuration options. - id: ruff - types_or: [ python, pyi, jupyter ] + name: ruff-sort-imports args: [--select, I, --fix] - - - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.2 - hooks: # See pyproject.toml for configuration options. - id: ruff-format # Run the formatter types_or: [ python, pyi, jupyter ]