diff --git a/check_source/check_descriptions.py b/check_source/check_descriptions.py
index 8081f547b78153950d4ed336bd30446a5214f235..327d2c989426b01c0aa9bfcd438fe5ceaa96be9a 100644
--- a/check_source/check_descriptions.py
+++ b/check_source/check_descriptions.py
@@ -116,7 +116,7 @@ def check_duplicates():
     # This is mainly useful for operators,
     # other types have too many false positives
 
-    #for t in (structs, funcs, ops, props):
+    # for t in (structs, funcs, ops, props):
     for t in (ops, ):
         description_dict = {}
         print("")
diff --git a/check_source/check_header_duplicate.py b/check_source/check_header_duplicate.py
index d5af3b71e8004d46133c4add0f4687fed9eadfd3..02217d5f70759f9c068ccecc3507ea98f92d9dba 100755
--- a/check_source/check_header_duplicate.py
+++ b/check_source/check_header_duplicate.py
@@ -87,7 +87,6 @@ def scan_source_recursive(dirpath, is_restore):
         ext = splitext(filename)[1]
         return (ext in {".hpp", ".hxx", ".h", ".hh"})
 
-
     def is_ignore(filename):
         pass
 
diff --git a/check_source/check_spelling.py b/check_source/check_spelling.py
index 54dd42356a2ee63ebf43831ae97bc73c8f0afc05..8a047c90c953b6ade37d2d35d494f1719b488c8a 100755
--- a/check_source/check_spelling.py
+++ b/check_source/check_spelling.py
@@ -290,8 +290,8 @@ def spell_check_comments(filepath):
 
     for comment in comment_list:
         for w in comment.parse():
-            #if len(w) < 15:
-            #    continue
+            # if len(w) < 15:
+            #     continue
 
             w_lower = w.lower()
             if w_lower in dict_custom or w_lower in dict_ignore:
diff --git a/utils/blend2json.py b/utils/blend2json.py
index ff9e441208ca914972586a9afdf8603745c56cc3..976c647ff772094eb035ac796957c5fc526e2dde 100755
--- a/utils/blend2json.py
+++ b/utils/blend2json.py
@@ -207,7 +207,7 @@ def do_bblock_filter(filters, blend, block, meta_keyval, data_keyval):
                     # ones may still have to be processed...
                 else:
                     block.user_data = min(block.user_data, -rec_iter)
-                    do_break = True # No need to check more filters in exclude case...
+                    do_break = True  # No need to check more filters in exclude case...
                     break
         for k, v in data_keyval:
             if key.search(k) and val.search(v):
@@ -220,11 +220,11 @@ def do_bblock_filter(filters, blend, block, meta_keyval, data_keyval):
                     # ones may still have to be processed...
                 else:
                     block.user_data = min(block.user_data, -rec_iter)
-                    do_break = True # No need to check more filters in exclude case...
+                    do_break = True  # No need to check more filters in exclude case...
                     break
         if include and not has_match:  # Include check failed, implies exclusion.
             block.user_data = min(block.user_data, -rec_iter)
-            do_break = True # No need to check more filters in exclude case...
+            do_break = True  # No need to check more filters in exclude case...
         if do_break:
             break
     # Implicit 'include all' in case no include filter is specified...
diff --git a/utils/credits_git_gen.py b/utils/credits_git_gen.py
index de5bb8ad47f464ca3591fbd2251e6e5015eabe25..f1049a89bec8fe3e9a7110273419b73985df8b53 100755
--- a/utils/credits_git_gen.py
+++ b/utils/credits_git_gen.py
@@ -166,4 +166,3 @@ def main():
 
 if __name__ == "__main__":
     main()
-
diff --git a/utils/git_log_review_commits_advanced.py b/utils/git_log_review_commits_advanced.py
index 7702faab02f8505f0fe534a73682841213cd1d76..7294b5e74d977ad7f103fbf9cf78e8e8d58c1cc4 100755
--- a/utils/git_log_review_commits_advanced.py
+++ b/utils/git_log_review_commits_advanced.py
@@ -64,6 +64,7 @@ __doc__ = __doc__ + \
              os.path.join(_cwd, ACCEPT_PRETTY_FILE), os.path.join(_cwd, ACCEPT_RELEASELOG_FILE))
 del _cwd
 
+
 class _Getch:
     """
     Gets a single character from standard input.
@@ -636,7 +637,7 @@ def main():
                             c1 = get_cat(ch, len(BUGFIX_CATEGORIES))
                         elif c2 is None:
                             if ch == b'\r':
-                                break;
+                                break
                             elif ch == b'\x7f':  # backspace
                                 c1 = None
                                 continue
@@ -646,7 +647,7 @@ def main():
                         else:
                             print("BUG! this should not happen!")
 
-                    if done_main == False:
+                    if done_main is False:
                         # Go back to main loop, this commit is no more accepted nor rejected.
                         tot_accept -= 1
                         continue