diff --git a/.isort.cfg b/.isort.cfg
index 8d7af1de97c8aea738c0f7c503d1461ad413db4f..91f3180b95f43b4dcf75bad5d3cb47349ba74f1a 100644
--- a/.isort.cfg
+++ b/.isort.cfg
@@ -1,4 +1,10 @@
 [settings]
+multi_line_output=3
+include_trailing_comma=true
+force_grid_wrap=0
+use_parentheses=true
+ensure_newline_before_comments=true
 line_length=88
+force_single_line=true
 order_by_type=true
 lines_between_types=1
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index b8be7b76e83826593fa81b855cb192d76e409f68..255d30427c09122af0d59818bbfdbf7487d94a45 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -2,17 +2,17 @@
 # See https://pre-commit.com/hooks.html for more hooks
 repos:
   - repo: https://github.com/timothycrosley/isort
-    rev: 4.3.21-2
+    rev: 5.0.5
     hooks:
     - id: isort
       args: [-sl]
   - repo: https://github.com/psf/black
-    rev: stable
+    rev: 19.10b0
     hooks:
       - id: black
         exclude: beat/backend/python/test/prefix/.*/syntax_error
   - repo: https://github.com/pre-commit/pre-commit-hooks
-    rev: v2.0.0
+    rev: v3.1.0
     hooks:
       - id: check-ast
         exclude: beat/backend/python/test/prefix/.*/syntax_error
@@ -23,12 +23,15 @@ repos:
         exclude: beat/backend/python/test/prefix/.*/syntax_error
       - id: check-added-large-files
       - id: check-docstring-first
-      - id: flake8
-        exclude: beat/backend/python/test/prefix/.*/(.*crash|syntax_error)
       - id: check-yaml
         exclude: conda/meta.yaml
+  - repo: https://github.com/PyCQA/flake8/
+    rev: 3.8.3
+    hooks:
+      - id: flake8
+        exclude: beat/backend/python/test/prefix/.*/(.*crash|syntax_error)
   - repo: https://github.com/PyCQA/bandit
-    rev: 'master' # Update me!
+    rev: 1.6.2
     hooks:
       - id: bandit
         exclude: beat/backend/python/test/prefix/.*/syntax_error