mirror of
https://github.com/DeaDvey/mathgenerator.git
synced 2025-11-28 06:25:23 +01:00
fix linter issues
This commit is contained in:
@@ -11,6 +11,8 @@ genList = []
|
|||||||
|
|
||||||
SEP = os.sep
|
SEP = os.sep
|
||||||
class Generator:
|
class Generator:
|
||||||
|
|
||||||
|
|
||||||
def __init__(self, title, id, func, kwargs):
|
def __init__(self, title, id, func, kwargs):
|
||||||
self.title = title
|
self.title = title
|
||||||
self.id = id
|
self.id = id
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ def gen_func(minM=-10,
|
|||||||
m = m[0]
|
m = m[0]
|
||||||
else:
|
else:
|
||||||
m = f"{m[0]}/{m[1]}"
|
m = f"{m[0]}/{m[1]}"
|
||||||
base = f"y ="
|
base = "y ="
|
||||||
if m != 0:
|
if m != 0:
|
||||||
if m == 1:
|
if m == 1:
|
||||||
base = f"{base} x"
|
base = f"{base} x"
|
||||||
|
|||||||
Reference in New Issue
Block a user