From fd5b57ae6c8ff68a9f86cae45657237cbf57d1d2 Mon Sep 17 00:00:00 2001
From: Franck Nijhof <git@frenck.dev>
Date: Fri, 17 Mar 2023 21:37:41 +0100
Subject: [PATCH] Drop autoflake in favor of Ruff (#89874)

---
 .pre-commit-config.yaml          | 8 --------
 requirements_test_pre_commit.txt | 1 -
 2 files changed, 9 deletions(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 155d966e0fe..fd196f19db3 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -5,14 +5,6 @@ repos:
       - id: ruff
         args:
           - --fix
-  - repo: https://github.com/PyCQA/autoflake
-    rev: v2.0.0
-    hooks:
-      - id: autoflake
-        args:
-          - --in-place
-          - --remove-all-unused-imports
-        stages: [manual]
   - repo: https://github.com/psf/black
     rev: 23.1.0
     hooks:
diff --git a/requirements_test_pre_commit.txt b/requirements_test_pre_commit.txt
index 410d74c9e38..a1faadfea4a 100644
--- a/requirements_test_pre_commit.txt
+++ b/requirements_test_pre_commit.txt
@@ -1,6 +1,5 @@
 # Automatically generated from .pre-commit-config.yaml by gen_requirements_all.py, do not edit
 
-autoflake==2.0.0
 bandit==1.7.4
 black==23.1.0
 codespell==2.2.2
-- 
GitLab