Relaxes the case requirements for checks in the README file so that word
like "Maintainer" and "Patch" are allowed
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
if re.search('README', data, re.IGNORECASE):
return
- self.assertIn('maintainer', data)
- self.assertIn('patch',data)
+ self.assertIn('maintainer', data.lower())
+ self.assertIn('patch', data.lower())
# Check that there is an email address in the README
email_regex = re.compile(r"[^@]+@[^@]+")
self.assertTrue(email_regex.match(data))