Skip to content

Commit

Permalink
🚨 Ruff fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
je-cook committed Sep 13, 2024
1 parent fbf71cf commit 1d64c5d
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 1d64c5d

Please sign in to comment.