Skip to content

Commit 0a6d621

Browse files
author
utf
committed
Lint
1 parent faf765f commit 0a6d621

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

amset/util.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def validate_settings(user_settings: Dict[str, Any]) -> Dict[str, Any]:
8787

8888

8989
def cast_tensor(
90-
tensor: Union[float, List[float], List[List[float]], np.ndarray]
90+
tensor: Union[float, List[float], List[List[float]], np.ndarray],
9191
) -> np.ndarray:
9292
"""Cast a number/list into a 3x3 tensor.
9393
@@ -113,7 +113,7 @@ def cast_tensor(
113113

114114

115115
def cast_elastic_tensor(
116-
elastic_tensor: Union[int, float, List[List[float]], np.ndarray]
116+
elastic_tensor: Union[int, float, List[List[float]], np.ndarray],
117117
) -> np.ndarray:
118118
"""Cast elastic tensor from single value or Voigt to full 3x3x3x3 tensor.
119119
@@ -144,7 +144,7 @@ def cast_elastic_tensor(
144144

145145

146146
def cast_piezoelectric_tensor(
147-
piezoelectric_tensor: Union[np.ndarray, List[List[float]], np.ndarray]
147+
piezoelectric_tensor: Union[np.ndarray, List[List[float]], np.ndarray],
148148
) -> np.ndarray:
149149
"""Cast piezoelectric tensor from Voigt form to full 3x3x3 tensor.
150150

0 commit comments

Comments
 (0)