gifn-apply: tox.ini: only one Ruff environment, pinned version
Drop the "relaxed" Ruff environment, only use the pedantic one with
a pinned Ruff version so we have some control over the Ruff diagnostics.
The Ruff development is still somewhat in flux, even with Ruff 0.1.x's
preview mode.
Change-Id: Id4f00c7898abb4a58d88b2cd8a384c78ee82a5ec
diff --git a/tools/git-if-needed/python/config/ruff-most/pyproject.toml b/tools/git-if-needed/python/config/ruff-most/pyproject.toml
deleted file mode 100644
index 26587b8..0000000
--- a/tools/git-if-needed/python/config/ruff-most/pyproject.toml
+++ /dev/null
@@ -1,54 +0,0 @@
-# SPDX-FileCopyrightText: StorPool <support@storpool.com>
-# SPDX-License-Identifier: BSD-2-Clause
-
-[tool.ruff]
-extend = "../ruff-base/pyproject.toml"
-# The list of linters from Ruff 0.0.253
-select = [
- "A",
- "ANN",
- "ARG",
- "B",
- "BLE",
- "C4",
- "C90",
- "COM",
- "D",
- "DJ",
- "DTZ",
- "E",
- "EM",
- "ERA",
- "EXE",
- "F",
- "FBT",
- "G",
- "I",
- "ICN",
- "INP",
- "ISC",
- "N",
- "NPY",
- "PD",
- "PGH",
- "PIE",
- "PL",
- "PT",
- "PTH",
- "PYI",
- "Q",
- "RET",
- "RSE",
- "RUF",
- "S",
- "SIM",
- "SLF",
- "T10",
- "T20",
- "TCH",
- "TID",
- "TRY",
- "UP",
- "W",
- "YTT",
-]
diff --git a/tools/git-if-needed/tox.ini b/tools/git-if-needed/tox.ini
index fac9bfb..ad40b73 100644
--- a/tools/git-if-needed/tox.ini
+++ b/tools/git-if-needed/tox.ini
@@ -71,15 +71,6 @@
tags =
check
deps =
- ruff >= 0.0.253, < 0.1
-commands =
- ruff check --config python/config/ruff-most/pyproject.toml -- {[defs]pyfiles}
-
-[testenv:ruff-all]
-skip_install = True
-tags =
- check
-deps =
ruff == 0.0.253
commands =
ruff check --config python/config/ruff-all/pyproject.toml -- {[defs]pyfiles}