Use Black stable to format python code
[babeltrace.git] / tests / utils / python / tap / directive.py
index 6171ca2e28e2011ff4754ab86809c7234b00dbd4..6be71bbb7ff6dd48883010caea6107e2d717cf06 100644 (file)
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: BSD-2-Clause
+#
 # Copyright (c) 2016, Matt Layman
 
 import re
@@ -10,12 +12,14 @@ class Directive(object):
         r"""^SKIP\S*
             (?P<whitespace>\s*) # Optional whitespace.
             (?P<reason>.*)      # Slurp up the rest.""",
-        re.IGNORECASE | re.VERBOSE)
+        re.IGNORECASE | re.VERBOSE,
+    )
     todo_pattern = re.compile(
         r"""^TODO\b             # The directive name
             (?P<whitespace>\s*) # Immediately following must be whitespace.
             (?P<reason>.*)      # Slurp up the rest.""",
-        re.IGNORECASE | re.VERBOSE)
+        re.IGNORECASE | re.VERBOSE,
+    )
 
     def __init__(self, text):
         """Initialize the directive by parsing the text.
This page took 0.022676 seconds and 4 git commands to generate.