polishing
oder of imports is build-in, 3rd party, internal
This commit is contained in:
parent
59a6dc3652
commit
f0c587d4aa
|
@ -95,7 +95,7 @@ mypy:
|
|||
stage: python
|
||||
script:
|
||||
- cd $DAMASKROOT/python
|
||||
- mypy damask/*.py
|
||||
- mypy -m damask
|
||||
except:
|
||||
- master
|
||||
- release
|
||||
|
|
|
@ -11,11 +11,13 @@ the following operations are required for tensorial data:
|
|||
- D1 = D3.reshape(cells+(-1,)).reshape(-1,9,order='F')
|
||||
|
||||
"""
|
||||
from scipy import spatial as _spatial
|
||||
|
||||
from typing import Sequence, Tuple, Union
|
||||
|
||||
from scipy import spatial as _spatial
|
||||
import numpy as _np
|
||||
|
||||
|
||||
def _ks(size: _np.ndarray, cells: Union[_np.ndarray,Sequence[int]], first_order: bool = False) -> _np.ndarray:
|
||||
"""
|
||||
Get wave numbers operator.
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
"""Functionality for generation of seed points for Voronoi or Laguerre tessellation."""
|
||||
|
||||
from scipy import spatial as _spatial
|
||||
from typing import Sequence,Tuple
|
||||
|
||||
from scipy import spatial as _spatial
|
||||
import numpy as _np
|
||||
|
||||
from . import util as _util
|
||||
|
|
Loading…
Reference in New Issue