diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 155d966e0fe5d2dfd1cde5e15e6fb4884fb9ece0..fd196f19db3b4dc333d471709e12621c44883019 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 410d74c9e38012ca6eb35cc3a56b0cf5a917ffe3..a1faadfea4ac0e33ae614721a0a7e64926527eb8 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