f-string
used without any expression PTC-W0027f-string
used without any expression 55 )
56
57 response = client.post(
58 f'/v1/groups', 59 content_type='application/vnd.api+json',
60 headers=jwt,
61 data=data,
f-string
used without any expression 27 )
28
29 response = client.post(
30 f'/v1/groups', 31 content_type='application/vnd.api+json',
32 headers=jwt,
33 data=data,
f-string
used without any expression 68
69 if multiple or not (optional or present):
70 raise UnprocessableEntityError(
71 {'pointer': f'/data/relationships'}, 72 f"A valid relationship with either of resources is required: {resource_list}",
73 )
74
It is wasteful to use f-string
mechanism if there are no expressions to be extrapolated. It is recommended to use regular strings instead.