Contributing 💻 - exafmm/pyexafmm GitHub Wiki
Style
Largely PEP8 driven, with a preference for NumPy docstyle.
Variables
Snake case.
Imports
The following import order is preferred
import builtins
import third_party
import self_made
The following import style is preferred
import foo
import baz.boz as boz
def func(*args, **kwargs):
foo.bar(*args, **kwargs)
boz.oof(*args, **kwargs)
to this,
from foo import bar
from baz.boz import oof
def func(*args, **kwargs):
bar(*args, **kwargs)
oof(*args, **kwargs)