f-string
used without any expression PTC-W0027f-string
used without any expression 68 """
69 # Make a POST request to the HealthGuard API to integrate the specified IoMT device
70 response = requests.post(
71 f"https://api.healthguard.com/devices", json={"id": device_id} 72 )
73
74 # Check if the request was successful
It is wasteful to use f-string
mechanism if there are no expressions to be extrapolated. It is recommended to use regular strings instead.