From f929597ae52dc67d31a3a1b99bab028b7e185eb6 Mon Sep 17 00:00:00 2001 From: mhostetter Date: Wed, 31 Jan 2024 18:54:14 -0500 Subject: [PATCH] Upgrade to Ruff v0.1.15 --- .pre-commit-config.yaml | 2 +- .vscode/settings.json | 2 +- requirements-dev.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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