diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5c6879e..5b01979 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -25,4 +25,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.7.0 hooks: + - id: ruff + args: + - --fix - id: ruff-format diff --git a/ruff.toml b/ruff.toml index 4052ff0..0c63b24 100644 --- a/ruff.toml +++ b/ruff.toml @@ -1,3 +1,8 @@ indent-width = 4 line-length = 99 target-version = "py39" + +[lint] +select = [ + "I", # isort +]