clifford icon indicating copy to clipboard operation
clifford copied to clipboard

Star imports of algebras confuse flake8

Open eric-wieser opened this issue 4 years ago • 1 comments

from clifford.g3c import * confuses flake8 with F403 and F405 errors.

I don't know if we can do anything about this, but figured I'd open an issue to track it.

eric-wieser avatar Oct 22 '19 10:10 eric-wieser

Fixing this would come at the cost of code like

# note: full import used to make flake8 happy
from clifford.g3c import (
    # basis elements
    e1, e2, e3, e4, e5,
    e12, e13, e14, e15, e23, e24, e25, e34, e35, e45,
    e123, e124, e125, e134, e135, e145, e234, e235, e245, e345,
    e1234, e1235, e1245, e1345, e2345,
    e12345,

    layout,

    # conformalize "stuff"
    E0, ep, einf, homo, down, en, eo, up, I_base
)

(pasting here so I can nuke my local stash with this change)

eric-wieser avatar Mar 09 '20 09:03 eric-wieser