flake8 corr (not finish yet)

This commit is contained in:
Benjamin Bertrand
2016-03-06 18:18:01 +03:00
parent b6da1e24a1
commit edd83fe56a
14 changed files with 95 additions and 275 deletions

View File

@@ -33,7 +33,7 @@ class Explicable(Renderable):
2 + 10 \times 4
2 + 40
42
"""
old_s = ''
# les étapes pour l'atteindre
@@ -88,8 +88,11 @@ class Explicable(Renderable):
"""
self.steps = steps + self.steps
class Explicable_int(int, Explicable):
""" An Explicable_int is an int which can be explain """
isNumber = True
def __init__(self, val):
@@ -107,8 +110,11 @@ class Explicable_int(int, Explicable):
def __tex__(self):
return str(self._val)
class Explicable_Decimal(Decimal, Explicable):
""" An Explicable_Decimal is an decimal which can be explain """
isNumber = True
def __init__(self, val):
@@ -127,7 +133,6 @@ class Explicable_Decimal(Decimal, Explicable):
return str(self._val)
# -----------------------------
# Reglages pour 'vim'
# vim:set autoindent expandtab tabstop=4 shiftwidth=4: