diff --git a/setup.py b/setup.py index 5c4ea88..e82a554 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,8 @@ README = open(os.path.join(os.path.dirname(__file__), "README.md")).read() VERSION = ( re.search( - r'__version__ = "(.+)"', open("src/wheezy/captcha/__init__.py").read(), + r'__version__ = "(.+)"', + open("src/wheezy/captcha/__init__.py").read(), ) .group(1) .strip() diff --git a/src/wheezy/captcha/bezier.py b/src/wheezy/captcha/bezier.py index 26d9358..8d68876 100644 --- a/src/wheezy/captcha/bezier.py +++ b/src/wheezy/captcha/bezier.py @@ -7,8 +7,7 @@ def pascal_row(n): - """ Returns n-th row of Pascal's triangle - """ + """Returns n-th row of Pascal's triangle""" result = [1] x, numerator = 1, n for denominator in range(1, n // 2 + 1): @@ -24,8 +23,8 @@ def pascal_row(n): def make_bezier(n): - """ Bezier curves: - http://en.wikipedia.org/wiki/B%C3%A9zier_curve#Generalization + """Bezier curves: + http://en.wikipedia.org/wiki/B%C3%A9zier_curve#Generalization """ try: return beziers[n]