diff --git a/package_linter.py b/package_linter.py index 4eac4e7..e9e74d2 100755 --- a/package_linter.py +++ b/package_linter.py @@ -1418,7 +1418,7 @@ class Configurations(TestSuite): def right_syntax(line): return re.search( - r"more_set_headers [\"\'][\w-]+\s?: .*[\"\'];", line + r"more_set_headers +[\"\'][\w-]+\s?: .*[\"\'];", line ) if any(not right_syntax(line) for line in more_set_headers_lines):