diff options
| author | Anthony Sottile <asottile@umich.edu> | 2021-03-29 19:54:47 -0700 |
|---|---|---|
| committer | Anthony Sottile <asottile@umich.edu> | 2021-03-30 17:37:13 -0700 |
| commit | c4c4351699442195df64d3540d58c9fe221a48ae (patch) | |
| tree | e6ef4445310d4d1111d76146332c56ece8715781 /src/flake8/options | |
| parent | cb36e206a5ed5610a2f94f9893bbfd75036dc0ad (diff) | |
| download | flake8-c4c4351699442195df64d3540d58c9fe221a48ae.tar.gz | |
audit .format(...) calls
Diffstat (limited to 'src/flake8/options')
| -rw-r--r-- | src/flake8/options/manager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flake8/options/manager.py b/src/flake8/options/manager.py index 5019499..28cee4d 100644 --- a/src/flake8/options/manager.py +++ b/src/flake8/options/manager.py @@ -295,7 +295,7 @@ class Option: parts.append(arg) for k, v in self.filtered_option_kwargs.items(): parts.append(f"{k}={v!r}") - return "Option({})".format(", ".join(parts)) + return f"Option({', '.join(parts)})" def normalize(self, value: Any, *normalize_args: str) -> Any: """Normalize the value based on the option configuration.""" |
