summaryrefslogtreecommitdiff
path: root/src/flake8/options
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2021-03-29 20:00:59 -0700
committerAnthony Sottile <asottile@umich.edu>2021-03-30 17:37:13 -0700
commite9a2a1018349f3eda9811bcadb63d4e2af05fd2f (patch)
treecaa31e569fb0e8e639f24295a8b7f05222747020 /src/flake8/options
parentc4c4351699442195df64d3540d58c9fe221a48ae (diff)
downloadflake8-e9a2a1018349f3eda9811bcadb63d4e2af05fd2f.tar.gz
audit % format calls
Diffstat (limited to 'src/flake8/options')
-rw-r--r--src/flake8/options/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flake8/options/config.py b/src/flake8/options/config.py
index 0a2e039..8fa5fb0 100644
--- a/src/flake8/options/config.py
+++ b/src/flake8/options/config.py
@@ -344,7 +344,7 @@ def get_local_plugins(config_finder):
base_dirs = {os.path.dirname(cf) for cf in config_files}
- section = "%s:local-plugins" % config_finder.program_name
+ section = f"{config_finder.program_name}:local-plugins"
for plugin_type in ["extension", "report"]:
if config.has_option(section, plugin_type):
local_plugins_string = config.get(section, plugin_type).strip()