diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index f1da5de97ec9fd60a5ca4bf292ca40e986129fd2..ab231dc03cddc2deb0d0e501a4db8d1cae34f417 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -3,14 +3,6 @@ repos:
     rev: v5.10.1
     hooks:
       - id: isort
-  - repo: https://github.com/pycqa/flake8
-    rev: 3.9.2
-    hooks:
-      - id: flake8
-        additional_dependencies:
-          - 'flake8-copyright==0.2.2'
-          - 'flake8-debugger==3.1.0'
-          - 'flake8-quotes==3.3.2'
   - repo: https://github.com/astral-sh/ruff-pre-commit
     # Ruff version.
     rev: v0.3.7
diff --git a/ruff.toml b/ruff.toml
index 2de455fff8d3203365756f9d6d4238c3828a26cb..34f67e876beb4b0c67e642193fc1fec5bc3f1b24 100644
--- a/ruff.toml
+++ b/ruff.toml
@@ -5,9 +5,18 @@ line-length = 120
 quote-style = "double"
 
 [lint]
-select = ["Q0", "F", "W", "E",
+select = [
+    # flake8-quotes
+    "Q",
+    # pyflakes
+    "F",
+    # pycodestyle
+    "W",
+    "E",
     # request-without-timeout
     "S113",
+    # flake8-debugger
+    "T10",
     # escape-sequence-in-docstring
     "D301",
     # flake8-return