Some whitespace fixes to make newer versions of flake8 happy

This commit is contained in:
Eduard Braun 2016-11-27 18:47:17 +01:00
parent 6cf8c2b7d9
commit 25549b35d3
4 changed files with 9 additions and 0 deletions

View file

@ -405,6 +405,7 @@ default_properties = { # excluded all properties with 'auto' as default
def isSameSign(a, b): return (a <= 0 and b <= 0) or (a >= 0 and b >= 0)
scinumber = re.compile(r"[-+]?(\d*\.?)?\d+[eE][-+]?\d+")
number = re.compile(r"[-+]?(\d*\.?)?\d+")
sciExponent = re.compile(r"[eE]([-+]?\d+)")
@ -1945,6 +1946,7 @@ def removeDefaultAttributeValues(node, options, tainted=set()):
return num
rgb = re.compile(r"\s*rgb\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)\s*")
rgbp = re.compile(r"\s*rgb\(\s*(\d*\.?\d+)%\s*,\s*(\d*\.?\d+)%\s*,\s*(\d*\.?\d+)%\s*\)\s*")