From 7523fb6dfc675bd8de7a1f7b5e2236bc5ed12066 Mon Sep 17 00:00:00 2001 From: james Date: Mon, 3 Jun 2024 07:01:00 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20Ruff=20fixes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bluemira/magnets/solenoid_tools.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bluemira/magnets/solenoid_tools.py b/bluemira/magnets/solenoid_tools.py index dca450b4eb..41aa997462 100644 --- a/bluemira/magnets/solenoid_tools.py +++ b/bluemira/magnets/solenoid_tools.py @@ -8,8 +8,6 @@ Tools for simple solenoid calculations. """ -from typing import Tuple - import numpy as np from bluemira.magnetostatics.semianalytic_2d import semianalytic_Bx, semianalytic_Bz @@ -60,7 +58,7 @@ def calculate_hoop_radial_stress( r_outer: float, r: float, poisson_ratio: float = 0.3, -) -> Tuple[float]: +) -> tuple[float]: """ Calculate the hoop and radial stress at a radial location in a solenoid