We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7119f2d + 96e994d commit 3d000d3Copy full SHA for 3d000d3
gitlab/base.py
@@ -73,9 +73,9 @@ def __init__(
73
) -> None:
74
if not isinstance(attrs, dict):
75
raise GitlabParsingError(
76
- "Attempted to initialize RESTObject with a non-dictionary value: "
77
- "{!r}\nThis likely indicates an incorrect or malformed server "
78
- "response.".format(attrs)
+ f"Attempted to initialize RESTObject with a non-dictionary value: "
+ f"{attrs!r}\nThis likely indicates an incorrect or malformed server "
+ f"response."
79
)
80
self.__dict__.update(
81
{
pyproject.toml
@@ -51,7 +51,6 @@ disable = [
51
"arguments-renamed",
52
"attribute-defined-outside-init",
53
"broad-except",
54
- "consider-using-f-string",
55
"consider-using-generator",
56
"consider-using-sys-exit",
57
"cyclic-import",
0 commit comments