Skip to content

Commit

Permalink
Make pattern raw string
Browse files Browse the repository at this point in the history
  • Loading branch information
sivel committed Aug 10, 2020
1 parent a0af07c commit 007acb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/lib/ansible_test/_data/sanity/yamllint/yamllinter.py
Expand Up @@ -182,7 +182,7 @@ def get_module_docs(self, path, contents):

docs = {}

fmt_re = re.compile('^# fmt:\s+(\S+)', flags=re.M)
fmt_re = re.compile(r'^# fmt:\s+(\S+)', flags=re.M)

def check_assignment(statement, doc_types=None):
"""Check the given statement for a documentation assignment."""
Expand Down

0 comments on commit 007acb0

Please sign in to comment.