- edited description
check imports
Issue #16
resolved
sometimes we have e.g,
import dateutils
from dateutils import ... as ...
We could remove all not needed import statements
Comments (5)
-
reporter -
What is the desired style for imports? Shall we always use from xyc import a,b,c or use import xyz xyz.a()
Is there a PEP about this? Personally I like xyz.a() as one sees where the function is defined. Some people use a IDE for that...?
-
reporter PEP8 style is a different issue https://www.python.org/dev/peps/pep-0008/#imports
we can do from xyc import a, b, c
That issue is more about to remove not used imports from the modules or at least verify that both types are needed.
-
reporter - changed status to resolved
Merged in ReimarBauer/mss (pull request #14)
improved imports based on module names, fixes
#16→ <<cset 234a1ea9d79f>>
-
reporter - changed milestone to 1.1.0
- Log in to comment