Flake8 reported F523 '...'.format(...) has unused arguments errors in api.py and nog_sql/ezid_minter.py:
ezid/impl/api.py:185:25: F523 '...'.format(...) has unused arguments at position(s): 0
ezid/impl/nog_sql/ezid_minter.py:319:29: F523 '...'.format(...) has unused arguments at position(s): 1
api.py
def _validateOptions(request, options):
...
if not found:
return (
"error: bad request - invalid value for URL query parameter "
"'%s'".format(k)
)
else:
return "error: bad request - unrecognized URL query parameter '%s'" % impl.util.oneLine(
# has the effect of XML encoding non-ascii chars
k.encode("ASCII", "xmlcharrefreplace").decode()
)
return d
Flake8 reported
F523 '...'.format(...) has unused arguments
errors inapi.py
andnog_sql/ezid_minter.py
:ezid/impl/api.py:185:25: F523 '...'.format(...) has unused arguments at position(s): 0 ezid/impl/nog_sql/ezid_minter.py:319:29: F523 '...'.format(...) has unused arguments at position(s): 1
api.py
ezid_minter.py