File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -73,9 +73,9 @@ def __init__(
7373 ) -> None :
7474 if not isinstance (attrs , dict ):
7575 raise GitlabParsingError (
76- "Attempted to initialize RESTObject with a non-dictionary value: "
77- "{ !r}\n This likely indicates an incorrect or malformed server "
78- "response." . format ( attrs )
76+ f "Attempted to initialize RESTObject with a non-dictionary value: "
77+ f" { attrs !r} \n This likely indicates an incorrect or malformed server "
78+ f "response."
7979 )
8080 self .__dict__ .update (
8181 {
Original file line number Diff line number Diff line change @@ -51,7 +51,6 @@ disable = [
5151 " arguments-renamed" ,
5252 " attribute-defined-outside-init" ,
5353 " broad-except" ,
54- " consider-using-f-string" ,
5554 " consider-using-generator" ,
5655 " consider-using-sys-exit" ,
5756 " cyclic-import" ,
You can’t perform that action at this time.
0 commit comments