diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index c5be2f7..4e4b039 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -8,7 +8,7 @@ repos:
   # Ensure that all files end with a newline
   # Harmonize line endings
   - repo: https://github.com/pre-commit/pre-commit-hooks
-    rev: v4.4.0
+    rev: v4.5.0
     hooks:
       - id: check-added-large-files   # prevents giant files from being committed.
       - id: check-case-conflict       # checks for files that would conflict in case-insensitive filesystems.
@@ -24,7 +24,7 @@ repos:
 
   #  A formatter for finding and removing unused import statements.
   - repo: https://github.com/hadialqattan/pycln
-    rev: v2.1.3
+    rev: v2.4.0
     hooks:
       - id: pycln
         args: [ --all ]
@@ -34,27 +34,27 @@ repos:
   #   is set to the same style that is enforced by zimports.
   #   E.g. add `import-order-style = google` to your .flake8 file.
   - repo: https://github.com/sqlalchemyorg/zimports/
-    rev: v0.6.0
+    rev: v0.6.1
     hooks:
       - id: zimports
         args: [ --style=pycharm ]
 
   # The uncompromising code formatter
   - repo: https://github.com/psf/black
-    rev: 23.3.0
+    rev: 24.3.0
     hooks:
       - id: black
 
   # A tool to automatically upgrade syntax for newer versions of the python language.
   - repo: https://github.com/asottile/pyupgrade
-    rev: v3.3.1
+    rev: v3.15.2
     hooks:
       - id: pyupgrade
         args: [ --py36-plus ]
 
   # A tool to automatically fix common style issues in Python code. Has plugins.
   - repo: https://github.com/pycqa/flake8
-    rev: '5.0.4'
+    rev: '7.0.0'
     hooks:
       - id: flake8
         exclude: (__pycache__|.venv|tmp|.tox)
diff --git a/git_commits_graph/main.py b/git_commits_graph/main.py
index 6e0eb7a..4e32ce0 100644
--- a/git_commits_graph/main.py
+++ b/git_commits_graph/main.py
@@ -11,6 +11,7 @@
 from git_commits_graph.plotters import plot_total_lines_px
 from tqdm.auto import tqdm
 
+
 @click.command()
 @click.argument("git_dir", required=True)
 @click.option("-b", "--branch", default=None, help="git repository branch to browse.")