python: fix flake8 warnings and format with black

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ic54f4a3ecf328b0d2c65af5cfd9eb2048d671ad5
diff --git a/config/gitlint/block_comment.py b/config/gitlint/block_comment.py
index 8f5b51f..d5cc3f8 100644
--- a/config/gitlint/block_comment.py
+++ b/config/gitlint/block_comment.py
@@ -1,6 +1,7 @@
 import re
-from gitlint.rules import CommitRule, RuleViolation
+
 from gitlint.options import IntOption
+from gitlint.rules import CommitRule, RuleViolation
 
 
 class BodyMaxLineLengthWithExceptions(CommitRule):
@@ -10,8 +11,10 @@
     options_spec = [IntOption("line-length", 80, "Max line length")]
     line_length_violation_message = """Line exceeds max length ({0}>{1}).
     It's possible you intended to use one of the following exceptions:
-    1. Put logs or shell script in a quoted section with triple quotes (''') before and after the section
-    2. Put a long link at the bottom in a footnote.  example: [1] https://my_long_link.com
+    1. Put logs or shell script in a quoted section with triple quotes (''')
+        before and after the section
+    2. Put a long link at the bottom in a footnote.
+        example: [1] https://my_long_link.com
     Line that was too long:
 """
     tabs_violation_message = "Line contains hard tab characters (\\t)"
@@ -31,7 +34,9 @@
                 continue
 
             if "\t" in line:
-                return [RuleViolation(self.id, self.tabs_violation_message, line)]
+                return [
+                    RuleViolation(self.id, self.tabs_violation_message, line)
+                ]
 
             # allow footnote url links to be as long as needed example
             # [1] http://www.myspace.com