aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcontrib/check_GNU_style_lib.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/check_GNU_style_lib.py b/contrib/check_GNU_style_lib.py
index 94a7429..5096b13 100755
--- a/contrib/check_GNU_style_lib.py
+++ b/contrib/check_GNU_style_lib.py
@@ -182,6 +182,9 @@ class SquareBracketCheck:
self.re = re.compile('\w\s+(\[)')
def check(self, filename, lineno, line):
+ if filename.endswith('.md'):
+ return None
+
m = self.re.search(line)
if m != None:
return CheckError(filename, lineno,