fix: remove dead f-string prefixes via ruff F541 (216 sites) (#52336)

ruff check --fix --select F541 . on current main. Pure prefix removals;
adjacent-string concatenations keep the f only on interpolating fragments.
No string content or live placeholder altered.
This commit is contained in:
Teknium
2026-07-05 13:42:46 -07:00
committed by GitHub
parent 3d0276182a
commit 55e3ee1ab8
65 changed files with 215 additions and 215 deletions
@@ -29,10 +29,10 @@ def bmi(weight_kg, height_cm):
print(f"BMI: {val:.1f} — {cat}")
print()
print("Ranges:")
print(f" Underweight : < 18.5")
print(f" Normal : 18.5 – 24.9")
print(f" Overweight : 25.0 – 29.9")
print(f" Obese : 30.0+")
print(" Underweight : < 18.5")
print(" Normal : 18.5 – 24.9")
print(" Overweight : 25.0 – 29.9")
print(" Obese : 30.0+")
def tdee(weight_kg, height_cm, age, sex, activity):
@@ -160,7 +160,7 @@ def bodyfat(sex, neck_cm, waist_cm, hip_cm, height_cm):
break
print(f"Category: {cat}")
print(f"Method: US Navy circumference formula")
print("Method: US Navy circumference formula")
def usage():