Skip to content

Commit 2b50956

Browse files
committed
🚨 Ruff fixes
1 parent 5b9a633 commit 2b50956

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

bluemira/magnets/solenoid_tools.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
Tools for simple solenoid calculations.
99
"""
1010

11-
from typing import Tuple
12-
1311
import numpy as np
1412

1513
from bluemira.magnetostatics.semianalytic_2d import semianalytic_Bx, semianalytic_Bz
@@ -60,7 +58,7 @@ def calculate_hoop_radial_stress(
6058
r_outer: float,
6159
r: float,
6260
poisson_ratio: float = 0.3,
63-
) -> Tuple[float]:
61+
) -> tuple[float]:
6462
"""
6563
Calculate the hoop and radial stress at a radial location in a solenoid
6664

0 commit comments

Comments
 (0)