chore: apply ruff's pyflakes linter rules (#2420)
This commit is contained in:
@@ -101,7 +101,7 @@ class datetime_string(object):
|
||||
datetime.strptime(value, self.format)
|
||||
except ValueError:
|
||||
error = ('Invalid {arg}: {val}. {arg} must be conform to the format {format}'
|
||||
.format(arg=self.argument, val=value, lo=self.format))
|
||||
.format(arg=self.argument, val=value, format=self.format))
|
||||
raise ValueError(error)
|
||||
|
||||
return value
|
||||
|
Reference in New Issue
Block a user