mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-20 18:59:08 +00:00
modules bc*: use f-strings (#10945)
* modules bc*: use f-strings * no quotes or backticks inside f-strs * add changelog frag * rename chglof frag file * rename chglof frag file * copr: re-applied change maintain original logic
This commit is contained in:
parent
f9b4abf930
commit
0ef2235929
31 changed files with 197 additions and 202 deletions
|
|
@ -169,7 +169,7 @@ def check_requests_dep(module):
|
|||
else:
|
||||
required_version = '2.0.0'
|
||||
if LooseVersion(requests.__version__) < LooseVersion(required_version):
|
||||
module.fail_json(msg="'requests' library version should be >= %s, found: %s." % (required_version, requests.__version__))
|
||||
module.fail_json(msg=f"'requests' library version should be >= {required_version}, found: {requests.__version__}.")
|
||||
|
||||
|
||||
def post_annotation(annotation, api_key):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue