diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-07-28 17:29:52 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-07-28 17:29:52 -0400 |
commit | c5c1ba084b0b548ff8869cbc086e81608c329eb6 (patch) | |
tree | 6b2457d8a63aaccd0099b1e5fc2592caf7e44ac5 /coverage/plugin_support.py | |
parent | 82213596f5301981ea59c3067f8738ff9dd54bbc (diff) | |
download | python-coveragepy-git-c5c1ba084b0b548ff8869cbc086e81608c329eb6.tar.gz |
refactor: convert %-strings to f-strings
Diffstat (limited to 'coverage/plugin_support.py')
-rw-r--r-- | coverage/plugin_support.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/plugin_support.py b/coverage/plugin_support.py index 7accc56f..1b5ba8d7 100644 --- a/coverage/plugin_support.py +++ b/coverage/plugin_support.py @@ -45,7 +45,7 @@ class Plugins: coverage_init = getattr(mod, "coverage_init", None) if not coverage_init: raise CoverageException( - "Plugin module %r didn't define a coverage_init function" % module + f"Plugin module {module!r} didn't define a coverage_init function" ) options = config.get_plugin_options(module) |