diff --git a/gitlab/base.py b/gitlab/base.py index 8a5da4d7f..6e7d5c584 100644 --- a/gitlab/base.py +++ b/gitlab/base.py @@ -73,9 +73,9 @@ def __init__( ) -> None: if not isinstance(attrs, dict): raise GitlabParsingError( - "Attempted to initialize RESTObject with a non-dictionary value: " - "{!r}\nThis likely indicates an incorrect or malformed server " - "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." ) self.__dict__.update( { diff --git a/pyproject.toml b/pyproject.toml index 0480feba3..0f16350dd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,7 +51,6 @@ disable = [ "arguments-renamed", "attribute-defined-outside-init", "broad-except", - "consider-using-f-string", "consider-using-generator", "consider-using-sys-exit", "cyclic-import", pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy