Source: python-slimmer Version: 0.1.30-9 User: debian-pyt...@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/p/python-slimmer.html Setting up python3-slimmer (0.1.30-9) ... /usr/lib/python3/dist-packages/slimmer/js_function_slimmer.py:35: SyntaxWarning: invalid escape sequence '\w' function_start_regex = re.compile('(function[ \w+\s*]\(([^\)]*)\)\s*{)') /usr/lib/python3/dist-packages/slimmer/js_function_slimmer.py:36: SyntaxWarning: invalid escape sequence '\s' function_start_regex = re.compile('(function(\s+\w+|)\s*\(([^\)]*)\)\s*{)') /usr/lib/python3/dist-packages/slimmer/js_function_slimmer.py:38: SyntaxWarning: invalid escape sequence '\w' function_name_regex = re.compile('(function (\w+)\()') /usr/lib/python3/dist-packages/slimmer/slimmer.py:144: SyntaxWarning: invalid escape sequence '\(' 'function\(\)\s*{|var \w|return false;|return true;|'\ /usr/lib/python3/dist-packages/slimmer/slimmer.py:145: SyntaxWarning: invalid escape sequence '\w' 'function \w{2,15}\(|}\s*else if\s*\(') /usr/lib/python3/dist-packages/slimmer/slimmer.py:146: SyntaxWarning: invalid escape sequence '\w' some_css_code_regex = re.compile('^#\w+\s*{|body\s*{|font-family:|margin:0|display:'\ /usr/lib/python3/dist-packages/slimmer/slimmer.py:147: SyntaxWarning: invalid escape sequence '\s' '|height:\s*\d|border:1px') /usr/lib/python3/dist-packages/slimmer/slimmer.py:152: SyntaxWarning: invalid escape sequence '\s' '|<html>|<title>|\s/>|<input|<a\s+', re.I) /usr/lib/python3/dist-packages/slimmer/slimmer.py:208: SyntaxWarning: invalid escape sequence '\*' if css_comment[-3:]=='\*/': /usr/lib/python3/dist-packages/slimmer/slimmer.py:254: SyntaxWarning: invalid escape sequence '\s' excess_whitespace4 = re.compile('"\s\s+\w+="|\'\s\s+\w+=\'|"\s\s+\w+=|\'\s\s+\w+=', f_M) /usr/lib/python3/dist-packages/slimmer/slimmer.py:257: SyntaxWarning: invalid escape sequence '\.' quotes_in_tag = re.compile('([a-zA-Z]+)="([a-zA-Z0-9-_\.]+)"') /usr/lib/python3/dist-packages/slimmer/slimmer.py:314: SyntaxWarning: invalid escape sequence '\s' excess_whitespace_js = re.compile('^\s+(\S)',re.MULTILINE) /usr/lib/python3/dist-packages/slimmer/slimmer.py:315: SyntaxWarning: invalid escape sequence '\S' excess_whitespace_js2 = re.compile('(\S+);\s+(\S+)', re.MULTILINE) /usr/lib/python3/dist-packages/slimmer/slimmer.py:316: SyntaxWarning: invalid escape sequence '\s' whitespaced_func_def = re.compile('(function)\s+(\S+\(.*?\))\s*{\s*(\S+)', f_IMD) /usr/lib/python3/dist-packages/slimmer/slimmer.py:317: SyntaxWarning: invalid escape sequence '\s' whitespaced_func_def2 = re.compile('function\s*\(\)\s*{\s*(\S+)', f_IMD) /usr/lib/python3/dist-packages/slimmer/slimmer.py:318: SyntaxWarning: invalid escape sequence '\s' js_comments_singlelines = re.compile('^//.*?$|\s+//.*?$', re.DOTALL|re.MULTILINE|re.I) /usr/lib/python3/dist-packages/slimmer/slimmer.py:319: SyntaxWarning: invalid escape sequence '\s' js_comments_singlelines2 = re.compile('((^|;|\s)//.*?$)', re.DOTALL|re.MULTILINE|re.I) /usr/lib/python3/dist-packages/slimmer/slimmer.py:321: SyntaxWarning: invalid escape sequence '\s' js_comment_start = re.compile('(<!--(.*?))$\s(\w+)', re.MULTILINE) /usr/lib/python3/dist-packages/slimmer/slimmer.py:323: SyntaxWarning: invalid escape sequence '\s' whitespaced_controls = re.compile('(for|else if|if|catch|while)\s*\((.*?)\)\s*{\s*(\S+)', f_IMD) /usr/lib/python3/dist-packages/slimmer/slimmer.py:324: SyntaxWarning: invalid escape sequence '\s' single_whitespaced_controls = re.compile('(try|else)\s*{\s*(\S+)', f_IMD) /usr/lib/python3/dist-packages/slimmer/slimmer.py:325: SyntaxWarning: invalid escape sequence '\(' sloppy_conditionals = re.compile('\(\s*(\S+)\s*(==|!=)\s*(\S+)\)') /usr/lib/python3/dist-packages/slimmer/slimmer.py:326: SyntaxWarning: invalid escape sequence '\(' sloppy_parameters = re.compile('\(([(\w+)\s,]+)\)') /usr/lib/python3/dist-packages/slimmer/slimmer.py:327: SyntaxWarning: invalid escape sequence '\s' sloppy_ifs = re.compile('\s*(if|else if|else)\s*({|\()') /usr/lib/python3/dist-packages/slimmer/slimmer.py:328: SyntaxWarning: invalid escape sequence '\s' sloppy_declarations = re.compile('var\s+(\w+)\s*=\s*(\d+|\w+|\"[\w+ ]\"|\[[\'\w \.,\"]+\])') /usr/lib/python3/dist-packages/slimmer/slimmer.py:329: SyntaxWarning: invalid escape sequence '\w' sloppy_simple_declarations = re.compile('(\w+)\s*=\s*(\d+|\w+|\"[\w+ ]\")') /usr/lib/python3/dist-packages/slimmer/slimmer.py:330: SyntaxWarning: invalid escape sequence '\w' sloppy_increments = re.compile('(\w+)\s*(\+=|-=)\s*(\d*|\"\w+\")') /usr/lib/python3/dist-packages/slimmer/tests/codechunks.py:327: SyntaxWarning: invalid escape sequence '\.' JS_2=''' /usr/lib/python3/dist-packages/slimmer/tests/codechunks.py:346: SyntaxWarning: invalid escape sequence '\.' expect_JS_2='''