import with name not asterisk

* import with name not *, remove top level imports

* Fix linter, remove numpy

* Lint fixes

* Comment worksheet generator temporarily
This commit is contained in:
Luke Weiler
2022-12-19 01:31:08 -05:00
committed by GitHub
parent 5bbf9bcb76
commit f2efb3751d
137 changed files with 525 additions and 405 deletions

View File

@@ -33,7 +33,7 @@ for subject in subjects:
lines = ["from ...__init__ import *\n", "\n"]
for item in full_file_paths:
if item[:2] != '__':
lines.append("from ." + item + " import *\n")
lines.append(f"from .{item} import {item}\n")
with open(f'../mathgenerator/funcs/{subject}/__init__.py', 'w') as f:
f.writelines(lines)