gifn-apply: use Ruff 0.2.2: ruff.lint, "no self"

Push some of the Ruff configuration settings into the ruff.lint tree.
Drop an override for a deprecated check.

Ruff: ANN101
Change-Id: Ic2872f8e59c172c070a55f89346a4fb1699d901f
diff --git a/tools/git-if-needed/python/requirements/ruff.txt b/tools/git-if-needed/python/requirements/ruff.txt
index b86f19e..dc5c68c 100644
--- a/tools/git-if-needed/python/requirements/ruff.txt
+++ b/tools/git-if-needed/python/requirements/ruff.txt
@@ -1,4 +1,4 @@
 # SPDX-FileCopyrightText: StorPool <support@storpool.com>
 # SPDX-License-Identifier: BSD-2-Clause
 
-ruff == 0.1.15
+ruff == 0.2.2