diff options
author | Fabrizio Riguzzi <fabrizio.riguzzi@unife.it> | 2022-02-20 13:20:18 +0100 |
---|---|---|
committer | Fabrizio Riguzzi <fabrizio.riguzzi@unife.it> | 2022-02-20 13:20:18 +0100 |
commit | 61c78d1effec9b4e80c434320d772eee37a002a0 (patch) | |
tree | 1aa99967ee66eb31e033d63d4b77278e74da2a25 /scripts/check_sources.py | |
parent | c9bd789dbb397792f5adf912f8599175066724e9 (diff) | |
parent | 4b8738a825bef845e66ce57d4ca204b584afda08 (diff) | |
download | pygments-git-61c78d1effec9b4e80c434320d772eee37a002a0.tar.gz |
Merge branch 'master' of github.com:pygments/pygments
Diffstat (limited to 'scripts/check_sources.py')
-rwxr-xr-x | scripts/check_sources.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/check_sources.py b/scripts/check_sources.py index 612a7ef1..1feb1a33 100755 --- a/scripts/check_sources.py +++ b/scripts/check_sources.py @@ -34,9 +34,9 @@ def checker(*suffixes, **kwds): name_mail_re = r'[\w ]+(<.*?>)?' copyright_re = re.compile(r'^ :copyright: Copyright 2006-2022 by ' - r'the Pygments team, see AUTHORS\.$', re.UNICODE) + r'the Pygments team, see AUTHORS\.$') copyright_2_re = re.compile(r'^ %s(, %s)*[,.]$' % - (name_mail_re, name_mail_re), re.UNICODE) + (name_mail_re, name_mail_re)) is_const_re = re.compile(r'if.*?==\s+(None|False|True)\b') misspellings = ["developement", "adress", "verificate", # ALLOW-MISSPELLING |