You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now almost all the symbols (public API + implementation) are exposed to the top level package . This needs to be cleaned up to a point where only the public APIs are in taichi.
Remove all the aliases of taichi.core.util.ti_core
Avoid cyclic import as much as possible. While this is allowed, it potentially introduces lots of initialization ordering problems. (e.g. https://stackoverflow.com/a/746067/12003165)
Use isort or other similar tools to re-format the import statements. Additionally, add this to ti format
Do not match the taichi functions based on string literals in transformer.py.
...
The text was updated successfully, but these errors were encountered:
import taichi as ti
from xx import *
taichi
.taichi.core.util.ti_core
taichi/python/taichi/lang/core.py
Line 3 in c93a62f
taichi/python/taichi/lang/ops.py
Lines 13 to 14 in c93a62f
taichi/python/taichi/lang/__init__.py
Line 13 in c93a62f
ti_core
inside a module calledutil
...import
s to the top of the fileisort
or other similar tools to re-format theimport
statements. Additionally, add this toti format
transformer.py
.The text was updated successfully, but these errors were encountered: