diff options
author | 2022-08-11 19:00:35 -0600 | |
---|---|---|
committer | 2022-08-11 18:00:35 -0700 | |
commit | 64d89befdfd86fc44efe3bcd3a15c31d86181edc (patch) | |
tree | f365c640119227427b8a6dbdaaacc6dca313cd69 /Python | |
parent | b4686616d884e11f4a624989d370b3c032d0c1c4 (diff) | |
download | WarpX-64d89befdfd86fc44efe3bcd3a15c31d86181edc.tar.gz WarpX-64d89befdfd86fc44efe3bcd3a15c31d86181edc.tar.zst WarpX-64d89befdfd86fc44efe3bcd3a15c31d86181edc.zip |
`isort`: AMReX, WarpX, etc. as First Party (#3307)
* `isort`: AMReX, WarpX, etc. as First Party
Mark the `amrex` and `pywarpx`, `picmistandard`, ... imports as first
party, so that they do not change if run locally or remotely pre/post
install.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/pywarpx/WarpInterface.py | 3 | ||||
-rw-r--r-- | Python/pywarpx/picmi.py | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Python/pywarpx/WarpInterface.py b/Python/pywarpx/WarpInterface.py index 0a1899389..dc80e4bc9 100644 --- a/Python/pywarpx/WarpInterface.py +++ b/Python/pywarpx/WarpInterface.py @@ -14,9 +14,10 @@ # The class WarpX_EM3D inherits from Warp's EM3D class. It primarily provides # access to the field plotting routines. -from pywarpx import PGroup import warp +from pywarpx import PGroup + from . import fields # The particle weight is always the first pid diff --git a/Python/pywarpx/picmi.py b/Python/pywarpx/picmi.py index be227e182..a9a8f80af 100644 --- a/Python/pywarpx/picmi.py +++ b/Python/pywarpx/picmi.py @@ -13,6 +13,7 @@ import re import numpy as np import periodictable + import picmistandard import pywarpx |