diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 853c6cbbffc5c9b47abf5df414f18c5e5765fade..a4e7a7165ec95e1058c23c607eee7d9fe8288f26 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -4,7 +4,7 @@ default_language_version:
 exclude: snapshots/
 repos:
   - repo: https://github.com/pre-commit/pre-commit-hooks
-    rev: v3.3.0
+    rev: v4.0.1
     hooks:
       - id: trailing-whitespace
         exclude: ^.*\.md$
@@ -21,11 +21,11 @@ repos:
       - id: seed-isort-config
 
   - repo: https://github.com/timothycrosley/isort
-    rev: 5.6.4
+    rev: 5.9.3
     hooks:
       - id: isort
 
   - repo: https://github.com/psf/black
-    rev: 20.8b1
+    rev: 21.9b0
     hooks:
       - id: black
diff --git a/shared/models.py b/shared/models.py
index 6ac73c33b80cc6aec73e16bb15646f7b5feb1f2d..794148f4bece74d1a97fc0caa3230b7d10535c1f 100644
--- a/shared/models.py
+++ b/shared/models.py
@@ -107,7 +107,7 @@ class Person(models.Model):
     ]
 
     def _iapi(self):
-        """ Vrati data o osobe z piratskeho IAPI jako json. Cached via django cache"""
+        """Vrati data o osobe z piratskeho IAPI jako json. Cached via django cache"""
         key = f"profile_{self.username}"
         profile = cache.get(key)
         if profile is None:
diff --git a/shared/templatetags/shared_filters.py b/shared/templatetags/shared_filters.py
index 94a59b897384d709e72ab30b2655f13ef390c016..2f06f9ad6a92564d9e3e51757ad0d935f2f7f84f 100644
--- a/shared/templatetags/shared_filters.py
+++ b/shared/templatetags/shared_filters.py
@@ -7,5 +7,5 @@ register = template.Library()
 
 @register.filter
 def markdown(value):
-    """ Prekonvertuje vstupni text na markdown, necekane """
+    """Prekonvertuje vstupni text na markdown, necekane"""
     return mark_safe(md.markdown(value))