| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 7119f2d commit 96e994d
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -73,9 +73,9 @@ def __init__( | |||
| 73 | 73 | ) -> None: | |
| 74 | 74 | if not isinstance(attrs, dict): | |
| 75 | 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) | ||
| 76 | + f"Attempted to initialize RESTObject with a non-dictionary value: " | ||
| 77 | + f"{attrs!r}\nThis likely indicates an incorrect or malformed server " | ||
| 78 | + f"response." | ||
| 79 | 79 | ) | |
| 80 | 80 | self.__dict__.update( | |
| 81 | 81 | { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -51,7 +51,6 @@ disable = [ | |||
| 51 | 51 | "arguments-renamed", | |
| 52 | 52 | "attribute-defined-outside-init", | |
| 53 | 53 | "broad-except", | |
| 54 | - "consider-using-f-string", | ||
| 55 | 54 | "consider-using-generator", | |
| 56 | 55 | "consider-using-sys-exit", | |
| 57 | 56 | "cyclic-import", | |
| Back | FazBrowse Home | New Git URL |
0 commit comments