[Pkg-fonts-devel] Bug#1085743: nototools: Python SyntaxWarning
Graham Inggs
ginggs at debian.org
Tue Oct 22 12:31:23 BST 2024
Source: nototools
Version: 0.2.17-1
User: debian-python at lists.debian.org
Usertags: syntaxwarning
Hi Maintainer
The SyntaxWarning below were emitted when this package was tested with
pipuarts[1].
Regards
Graham
[1] https://piuparts.debian.org/sid/source/n/nototools.html
Setting up python3-nototools (0.2.17-1) ...
/usr/lib/python3/dist-packages/nototools/gpos_diff.py:62:
SyntaxWarning: invalid escape sequence '\['
rx = re.compile("pos \[?([\w\d at _.]+)\]? \[?([\w\d at _.]+)\]? (-?\d+);")
/usr/lib/python3/dist-packages/nototools/gpos_diff.py:105:
SyntaxWarning: invalid escape sequence '\['
"mark \[([\w\d\s at _.]+)\] <anchor (-?\d+) (-?\d+)> " "(@[\w\d_.]+);"
/usr/lib/python3/dist-packages/nototools/gpos_diff.py:105:
SyntaxWarning: invalid escape sequence '\w'
"mark \[([\w\d\s at _.]+)\] <anchor (-?\d+) (-?\d+)> " "(@[\w\d_.]+);"
/usr/lib/python3/dist-packages/nototools/gpos_diff.py:149:
SyntaxWarning: invalid escape sequence '\['
"pos %s \[([\w\d\s at _.]+)\]\s+<anchor (-?\d+) (-?\d+)> "
/usr/lib/python3/dist-packages/nototools/gpos_diff.py:150:
SyntaxWarning: invalid escape sequence '\w'
"mark (@?[\w\d_.]+);" % mark_type
/usr/lib/python3/dist-packages/nototools/match_font_names.py:27:
SyntaxWarning: invalid escape sequence '\.'
full_exp = "^(?:" + "|".join(parts) + ").*\.ttf$"
/usr/lib/python3/dist-packages/nototools/noto_fonts.py:170:
SyntaxWarning: invalid escape sequence '\.'
"\.(ttf|ttc|otf)"
/usr/lib/python3/dist-packages/nototools/noto_names.py:66:
SyntaxWarning: invalid escape sequence '\d'
"^Copyright \u00a9 2014(?:, 20\d\d)? Adobe Systems Incorporated "
/usr/lib/python3/dist-packages/nototools/noto_names.py:67:
SyntaxWarning: invalid escape sequence '\('
"\(http://www.adobe.com/\)\.$"
/usr/lib/python3/dist-packages/nototools/noto_names.py:428:
SyntaxWarning: invalid escape sequence '\s'
punct_re = re.compile("[\s'-]")
/usr/lib/python3/dist-packages/nototools/noto_names.py:474:
SyntaxWarning: invalid escape sequence '\.'
return "^%s is a trademark of Google (Inc|LLC)\.*$" % noto_font.family
More information about the Pkg-fonts-devel
mailing list