diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e6720e7b1..076412235 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,7 +8,7 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.4 + rev: v0.1.15 hooks: - id: ruff - id: ruff-format diff --git a/.vscode/settings.json b/.vscode/settings.json index f8611a6fa..87516d437 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -10,7 +10,7 @@ "editor.formatOnSave": true, "editor.defaultFormatter": "charliermarsh.ruff", "editor.codeActionsOnSave": { - "source.organizeImports": true + "source.organizeImports": "explicit" }, }, "editor.formatOnSave": true, diff --git a/requirements-dev.txt b/requirements-dev.txt index ad5b14f2a..68dceb464 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,4 +1,4 @@ -ruff == 0.1.4 +ruff == 0.1.15 pytest pytest-cov[toml] pytest-xdist