| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent e814b7d commit 61aa69d
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -18,6 +18,7 @@ disable = | |||
| 18 | 18 | too-many-instance-attributes, | |
| 19 | 19 | import-error, | |
| 20 | 20 | consider-using-f-string, | |
| 21 | + logging-fstring-interpolation | ||
| 21 | 22 | ||
| 22 | 23 | [REPORTS] | |
| 23 | 24 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -82,9 +82,7 @@ def resolve(self, completion): | |||
| 82 | 82 | return self.callback(completion, sig) | |
| 83 | 83 | except Exception as e: # pylint: disable=broad-except | |
| 84 | 84 | log.warning( | |
| 85 | - 'Something went wrong when resolving label for {completion}: {e}'.format( | ||
| 86 | - completion=completion, e=e | ||
| 87 | - ), | ||
| 85 | + log.warning(f'Something went wrong when resolving label for {completion}: {e}') | ||
| 88 | 86 | ) | |
| 89 | 87 | return self.resolve_on_error | |
| 90 | 88 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments