summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJean Abou-Samra <jean@abou-samra.fr>2022-01-31 22:00:40 +0100
committerGitHub <noreply@github.com>2022-01-31 22:00:40 +0100
commitc81e97c3c281492ac6fdf4abc841ac5b63f3f303 (patch)
tree8d52ec56246f4d08a4eb0d16317cc5c261ebfd05 /scripts
parentb1edee0c8f736276a86e30d8edaed1f581e009d0 (diff)
downloadpygments-git-c81e97c3c281492ac6fdf4abc841ac5b63f3f303.tar.gz
Remove now redundant re.UNICODE and (?u) (#2058)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/check_sources.py4
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