Skip to content

Commit

Permalink
🚨 Ruff fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
je-cook committed Nov 18, 2024
1 parent e03fc2e commit 7523fb6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions bluemira/magnets/solenoid_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7523fb6

Please sign in to comment.