mirror of
https://github.com/DeaDvey/mathgenerator.git
synced 2025-11-28 06:25:23 +01:00
Remove asterisk imports from subject inits (#391)
* removed asterisk imports from subject inits * import Generator from the right init level
This commit is contained in:
@@ -30,7 +30,7 @@ subjects = ['algebra', 'basic_math', 'calculus',
|
||||
for subject in subjects:
|
||||
full_file_paths = get_filepaths(subject)
|
||||
full_file_paths.sort()
|
||||
lines = ["from ...__init__ import *\n", "\n"]
|
||||
lines = []
|
||||
for item in full_file_paths:
|
||||
if item[:2] != '__':
|
||||
lines.append(f"from .{item} import {item}\n")
|
||||
|
||||
Reference in New Issue
Block a user