Fix BOTMETA and corresponding sanity test (#3989)

* Fix BOTMETA and authors mistakes.

* Fix BOTMETA sanity test regex.
This commit is contained in:
Felix Fontein 2022-01-05 22:54:21 +01:00 committed by GitHub
commit 11205eefee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 4 deletions

View file

@ -56,7 +56,7 @@ FILENAME = '.github/BOTMETA.yml'
LIST_ENTRIES = frozenset(('supershipit', 'maintainers', 'labels', 'keywords', 'notify', 'ignore'))
AUTHOR_REGEX = re.compile(r'^\w.*\(@([\w-]+)\)(?![\w.])$')
AUTHOR_REGEX = re.compile(r'^\w.*\(@([\w-]+)\)(?![\w.])')
def read_authors(filename):